Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Strange issue affecting FES2014 correlations #45

Open
robbibt opened this issue Dec 22, 2023 · 0 comments
Open

Strange issue affecting FES2014 correlations #45

robbibt opened this issue Dec 22, 2023 · 0 comments

Comments

@robbibt
Copy link
Collaborator

robbibt commented Dec 22, 2023

Have encountered a strange issue with missing rectangular areas in output correlations based on FES2014 data:

image

As far as I can tell, this seems to only affect FES2014, despite outputs from all models looking theoretically identical and not containing any obvious differences in value ranges, dtypes or nodata. Best theory is that it's something to do with xr.corr (although other correlation funcs encounter the same problem), or some coordinate dtype issue with multiindexes?

Can reproduce by running the following geometry with `tide_model = "FES2014":

from odc.geo.geom import Geometry, CRS
study_area = "bugfix"
geom = Geometry({'type': 'Polygon', 'coordinates': (((1879630.0, -3690430.0), (1879630.0, -3699980.0), (1888280.0, -3699980.0), (1888280.0, -3690430.0), (1879630.0, -3690430.0)),)}, CRS('PROJCS["GDA94 / Australian Albers",GEOGCS["GDA94",DATUM["Geocentric_Datum_of_Australia_1994",SPHEROID["GRS 1980",6378137,298.257222101,AUTHORITY["EPSG","7019"]],AUTHORITY["EPSG","6283"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4283"]],PROJECTION["Albers_Conic_Equal_Area"],PARAMETER["latitude_of_center",0],PARAMETER["longitude_of_center",132],PARAMETER["standard_parallel_1",-18],PARAMETER["standard_parallel_2",-36],PARAMETER["false_easting",0],PARAMETER["false_northing",0],UNIT["metre",1,AUTHORITY["EPSG","9001"]],AXIS["Easting",EAST],AXIS["Northing",NORTH],AUTHORITY["EPSG","3577"]]'))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant