NCAR / ADF

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

Add check for incorrect climo years #243

Closed justin-richling closed 1 year ago

justin-richling commented 1 year ago

If user declares incorrect start and/or end climo years in config yaml file, check if in the datasets and force first and/or last years as default if not.

This will propagate to not just web headers but also any place climo years are displayed in plots as well as case_XXXX_XXXX_vs_case_XXXX_XXXX local directory name

Closes #231

nusbaume commented 1 year ago

@justin-richling Just FYI I expanded the year-checking code some so that the ADF will run when given (hopefully) any positive integer combination of start or end years.