NREL / nsrdb

NSRDB data processing pipeline. Includes satellite data assimilation, cloud property prediction and gap-filling, radiative transport modeling, and data collection.
https://nrel.github.io/nsrdb/
BSD 3-Clause "New" or "Revised" License
8 stars 0 forks source link

Better handling of leap years after 2017 #1

Closed mikebannis closed 3 years ago

mikebannis commented 3 years ago

For day 366 of leap years after 2017, use day 365 instead. Also includes checks to ensure any changes to FIRST_YEAR and LAST_YEAR do not violate leap year assumptions of date handling logic.