Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Clarification about grid generation units #51

Closed
Tracked by #40
tm-jc-nacpil opened this issue Jun 23, 2022 · 0 comments
Closed
Tracked by #40

Clarification about grid generation units #51

tm-jc-nacpil opened this issue Jun 23, 2022 · 0 comments

Comments

@tm-jc-nacpil
Copy link
Contributor

Hi! I'm currently using the grid generation tutorial and would like to clarify if the output grids in the example are in degrees or meters?

In the create grids section, the tutorial mentions that the units of the grids are dependent on the units of the projection.

Create a grid generator with a size of 50000. The units of the grid size are dependent on the projection of the geodataframe, in this case, EPSG:4326.

When printing out the CRS of region3_gdf, it shows that the units are in decimal degrees.

>> region3_gdf.crs  # CRS info
<Geographic 2D CRS: EPSG:4326>
Name: WGS 84
Axis Info [ellipsoidal]:
- Lat[north]: Geodetic latitude (degree)
- Lon[east]: Geodetic longitude (degree)
Area of Use:
- name: World.
- bounds: (-180.0, -90.0, 180.0, 90.0)
Datum: World Geodetic System 1984 ensemble
- Ellipsoid: WGS 84
- Prime Meridian: Greenwich

However, the output grids in the tutorial are described to be in kilometer scale:

grid_generator5k = grids.SquareGridGenerator(
    region3_gdf, 5000
)  # 5 km x 5 km square cells

Let me know also if this is the correct place for this question or if I should place this in Discussions instead. Thanks! :D

@thinkingmachines thinkingmachines locked and limited conversation to collaborators Jun 23, 2022
@tm-kah-alforja tm-kah-alforja converted this issue into discussion #52 Jun 23, 2022

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
Status: Done
Development

No branches or pull requests

1 participant