pacificclimate / modelmeta

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

add ability to index datasets with no time axis to index_netcdf #88

Closed corviday closed 4 years ago

corviday commented 5 years ago

We would like to be able to index some raster files that give time-independent information about a watershed, such as elevation or drainage data. These would be used by the PCEX backend to calculate watershed data for a watershed API endpoint.

Currently, index_netcdf explicitly requires all datasets to have a time axis. index_netcdf should instead allow the indexing of datafiles that meet both the following requirements:

as indexed datasets with null data_files.time_set_id and data_files.t_dim_name in the modelmeta database.