Opened 8 years ago
Last modified 8 years ago
#1536 closed defect
WCST_Import regular axis's resolution is optional — at Initial Version
Reported by: | Bang Pham Huu | Owned by: | Bang Pham Huu |
---|---|---|---|
Priority: | major | Milestone: | 9.4 |
Component: | wcst_import | Version: | development |
Keywords: | Cc: | Dimitar Misev, Vlad Merticariu | |
Complexity: | Medium |
Description
Current, in ingredient file of General Coverage, regular axes need to put the resolution which is needed to calculate by user, especially for netCdf, Grib which does not have the offset vector attribute.
It could be changed to calculate the resolution for regular axis by min and max internally.
e.g:
"Long": { "min": "${netcdf:variable:lon:min}", "max": "${netcdf:variable:lon:max}", "gridOrder": 2 },
and the resolution be calculated from the geo bound: min, max and totalnumber of grid pixels internally by the average of the distance between all geo coordinates (e.g: point0 - point1, point1 - point2,….pointn).
If the resolution is specified in ingredient file, compare with the computed value and notify if it is big different.
Use case: don't need to update the ingredient file (ideally) for most cases and have to calculate the resolution.