stuckyb / gcdl

6 stars 2 forks source link

adjusting spatial resolution #14

Closed stuckyb closed 2 years ago

stuckyb commented 2 years ago

A key missing feature is adjusting the spatial resolution (i.e., grid size) of datasets.

HeatherSavoy-USDA commented 2 years ago

We need at least one new input field in subset requests for this. We’d need to know the value and the unit. If a target crs is provided, we could assume/require the unit from that. But it’s currently not required. To start, we could require a target crs if a target resolution is given? Or accept a unit field.

HeatherSavoy-USDA commented 2 years ago

Thinking more about specifying the unit: the unit will have to match the returned crs (if not, we wouldn't really be returning the requested resolution). So if the target crs is provided, we should require the grid size unit to match it. What if the target crs is not provided, and there are multiple source crs with different units? Similar issue as #27.

HeatherSavoy-USDA commented 2 years ago

Going to use the same crs assumptions a #27. Will assume units match the assumed/specified crs.