stcorp / harp

Data harmonization toolset for scientific earth observation data
http://stcorp.github.io/harp/doc/html/index.html
BSD 3-Clause "New" or "Revised" License
55 stars 18 forks source link

Add clamp() using collocated dataset #260

Open svniemeijer opened 2 years ago

svniemeijer commented 2 years ago

This is needed for certain comparisons. This would be a clamp(dimension, axis-variable [unit], collocation-result-file, a|b, dataset-dir) operation similar to the regrid() variant. Note that this should be able to use either _bounds {[time,]dimension,2} as well as _bounds{[time,]2}.