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.
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.