pacificclimate / modelmeta

An ORM representation of the model metadata database
GNU General Public License v3.0
1 stars 0 forks source link

Index time-invariant datasets #89

Closed corviday closed 4 years ago

corviday commented 5 years ago

This PR changes index_netcdf to support indexing time-invariant netCDF files. These datasets contain information that doesn't generally change over time, like elevation or soil type. Datasets without a time dimension simply omit the TimeSet attribute when indexing.

Nchelpers is updated to version 5.5.3, which adds the is_time_invariant attribute to CFDataset and handles generating unique_ids for time-invariant datatsets.