NCAR / CUPiD

CUPiD is a “one stop shop” that enables and integrates timeseries file generation, data standardization, diagnostics, and metrics from all CESM components.
https://ncar.github.io/CUPiD/
Apache License 2.0
25 stars 24 forks source link

Adf in key metrics #154

Open mnlevy1981 opened 1 week ago

mnlevy1981 commented 1 week ago

Description of changes:

Add link_to_ADF.ipynb to the key_metrics example. This required a little modification to generate_adf_config_file.py to account for the fact that off-line regridding happened in 092 (CESM output on the CAM-SE grid, and ADF needs fields on the FV grid to plot them)

TeaganKing commented 3 days ago

This may be something on my end, but when I ran this, everything was computed with no issue but an additional (undesirable) key_metrics directory appeared here: CUPiD/examples/key_metrics/computed_notebooks/key_metrics and thus I ran into some issues generating the webpage. I'll try starting with a clean version since it's possible something is outdated in my sandbox.

TeaganKing commented 2 days ago

With a fresh checkout, I also had to run python -m ipykernel install --user --name=cupid-infrastructure. It may be worth adding this to the existing note in the readme about ipykernel. However, the additional key_metrics directory must have been a remnant of the old configuration I was using, and is no longer an issue.