NCAR / ADF

A unified collection of python scripts used to generate standard plots from CAM outputs.
Creative Commons Attribution 4.0 International
36 stars 29 forks source link

Ncrcat fixes and make timeseries generation compatible with all model components & filenames #230

Closed bitterbark closed 1 year ago

bitterbark commented 1 year ago
  1. Modify timeseries generation so that it works on all model components and all history file numbers by replacing hist_num with hist_str (eg cam.h1 or pop.h.ecosys.nday1). Default if missing is cam.h0 for backward compatibility
  2. Modify ncrcat call to include --no_cll_mth option, which fixes Issue 222 until the nco's are fixed and updated on CISL machines
  3. Modify ncrcat call so that it doesn't require PS to be in the same file as any 3D variable. Generates a warning but continues
  4. Modify ncrcat call to add strings as necessary so that changes to the base call or flags don't have to be implemented in multiple places

Fixes #222

bitterbark commented 1 year ago

I made changes, committed and pushed them; thought they would come in here automatically.

nusbaume commented 1 year ago

Just a FYI to my future self that I updated the conda environment in this PR to add the missing matplotlib version number from the adf_v0.1 version, and so a new adf_v0.11 tag will need to be made from this PR.