Opened 7 years ago
Closed 7 years ago
#1602 closed defect (fixed)
add correct lat/lon to pixel index transformation in WCPS — at Version 2
Reported by: | Vlad Merticariu | Owned by: | Bang Pham Huu |
---|---|---|---|
Priority: | major | Milestone: | 9.5 |
Component: | petascope | Version: | development |
Keywords: | Cc: | Dimitar Misev | |
Complexity: | Medium |
Description (last modified by )
The translation in Petascope for WCPS from geo indices to grid indices are not completely correct. Also, to make it correct, the most important value for coverage's axes are resolutions. They must be set almost correct from ingredient file to be imported by wcst_import, (e.g: the correct resolution is: 0.46666666666666666, then the input resolution should be: 0.46666666666666, not 0.466666).
It was validated from Oliver's test script in python: https://pastebin.com/0yegVrAx which will not return the diffecent between the python formula and WCPS imageCrsdomain for translating from geo indices to grid indices.
Use a subset of https://rsg.pml.ac.uk/shared_files/olcl/ESACCI-OC-L3S-CHLOR_A-MERGED-1M_MONTHLY_4km_GEO_PML_OC4v6-200003-fv2.0.nc to test if the pixel indices obtained by petascope when translating Lat / Lon values are correct.
Change History (2)
comment:1 by , 7 years ago
Cc: | added |
---|
comment:2 by , 7 years ago
Description: | modified (diff) |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Summary: | add correct lat/lon to pixel index transformation test → add correct lat/lon to pixel index transformation in WCPS |
I added a comment in http://earthserver.eu/trac2/ticket/205#comment:25 as it needs to make sure Petascope is running correctly from Olly's test, before I can add this to system test.