Skip to content

Does xagg support longitude 0-360 degrees? #54

Closed Answered by ks905383
helsharif asked this question in Q&A
Discussion options

You must be logged in to vote

I was wondering if xagg supports the use of both -180 to +180 and 0 to 360 degrees longitude conventions?

Yes it does! (0:360 files are internally converted to -180:180 when you run the code).

Also, does the polygon used with xagg have to use the same longitude convention as the data being aggregated?

Nope - as long as the gdf has a valid crs. Under the hood, the crs is converted to EPSG:6931-6933 (depending on the domain) before processing to match the cartesian setup from above.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by ks905383
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants