NCAR / CESM_postprocessing

Project repository for the CESM python based post-processing code, documentation and issues tracking.
77 stars 45 forks source link

Backwards compatibility for model versions that don't have NPP_NUPTAKE #214

Closed olyson closed 5 years ago

olyson commented 5 years ago

Some early CLM versions don't have the variable NPP_NUPTAKE, which currently results in a fatal error in the postprocessing package for derived variable NUPTAKE_FRACTION for various sets. This fix checks for the existence of NPP_NUPTAKE and if not found sets the derived variable to _FillValue. Also, a minor bug fix for set_1. Tested by Matt Rothstein.