COSIMA / cosima-cookbook

Framework for indexing and querying ocean-sea ice model output.
https://cosima-recipes.readthedocs.io/en/latest/
Apache License 2.0
57 stars 25 forks source link

Prevent concatenation of "static" frequency variables? #181

Open angus-g opened 4 years ago

angus-g commented 4 years ago

When files and their variables are added to the database, we make an attempt to guess the output frequency of the variable. In some cases, we mark a variable as "static", indicating that it shouldn't be interpreted as a timeseries. It might make queries a bit nicer if we enforced this:

aidanheerdegen commented 4 years ago

FYI A recent update to the explorer (https://github.com/COSIMA/cosima-cookbook/pull/211) made static a special case and enforced n=1 as the solution.

A more general solution would be nice, but static still needs to be a special case in the explorer as there is no valid date range.