Closed huard closed 4 years ago
@cehbrecht, @nilshempelmann
For the bbox subsetting there are start and end parameters. Let's say that these parameters are outside the domain of the resource being subsetted, should we raise an InvalidParameterValue error ?
If there are multiple resources being subsetted, we might want to rather continue processing and only subset those that can be subsetted, and ignore the others.
Thoughts ?
@huard Here my thoughts:
Hope this is inspiring
I think in ESGF search datasets are returned that partially overlap the [start, end] time interval. If you want to leave the decision to the user you could add an option like: "partial overlap", "full overlap".
@huard: Is that still an issue? subset by timerange is more useful for multiple files (an entire dataset). The subset functions are now looping over single files (5year timeslices for daily datafiles). Should be the time_range a seperate process?
otherwise 'eggshell.nc_utils.get_timerange' would be the right finction to catch missmatchs
It's been a while, I don't know. Ok with closing this.
Outdated
To catch empty outputs as soon as possible.