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

Order of latitudes in the netcdf file #12

Open
GabrieleBentiv opened this issue Jun 10, 2024 · 1 comment
Open

Order of latitudes in the netcdf file #12

GabrieleBentiv opened this issue Jun 10, 2024 · 1 comment

Comments

@GabrieleBentiv
Copy link

GabrieleBentiv commented Jun 10, 2024

It should be highlighted in the quick setup guide that it is crucial to have the netcdf file with the latitudes ordered from the lower to the higher (degrees north), otherwise even though the corner is indicated correctly in the Geo function, the variables will be mirrored within that domain along the North-South dimension.

@dniloash
Copy link
Owner

Hello, that is correct. The latitude and longitude must be ordered from the lower to the higher in degrees north and degrees east, and the array data must be according to the respective coordinates. 
In the Geo functions, it is indicated that you must enter the SOUTH-EAST corner. But, for example, if the latitude is ordered from higher to lower and you do not want to reorder the data, you must enter the NORTH-EAST corner and also change the sign of the [dlat] parameter to a negative value. I understand that this can be a bit tricky in some cases. I will consider changing the parameter and asking for the full latitude and longitude vector. For now, I can highlight the topic in the setup guide.
Thanks.

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

2 participants