NCAR / ADF

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

Add functionality to derive variables if using pre-made time series files #297

Open justin-richling opened 7 months ago

justin-richling commented 7 months ago

New feature type

Other (please explain below)

What is this new feature?

In addition to creating derived variables for history files, it is necessary to add functionality for deriving variables if the user supplies time series files instead of history files.

Since the derived variables function is specific to using history files, an extension of the derived variables function must be handled when the ADF checks if time series is supplied.

Related, we should also have a section of the derived variables that can derives SST from TS and OCENFRAC (if possible). This will need to be different than how the derive_variables function was initially set up in adf_diag.py.

Assistance required?

No, I will make a PR when the feature is ready

Extra info

No response