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

Transformations from rotated_poles to LatLon? #39

Open
Balinus opened this issue Apr 10, 2018 · 0 comments
Open

Transformations from rotated_poles to LatLon? #39

Balinus opened this issue Apr 10, 2018 · 0 comments

Comments

@Balinus
Copy link

Balinus commented Apr 10, 2018

Hello,

I'm looking to transform a rotated_pole grid to a "standard" latitude-longitude. I'm not sure this is the right package to do so?

For example, I have the following attributes in a file:

 rlat   (160)
    Datatype:    Float64
    Dimensions:  rlat
    Attributes:
     long_name            = latitude in rotated pole grid
     units                = degrees
     standard_name        = grid_latitude
     axis                 = Y
     coordinate_defines   = point
     actual_range         = [-32.8, 37.16]

  rlon   (172)
    Datatype:    Float64
    Dimensions:  rlon
    Attributes:
     long_name            = longitude in rotated pole grid
     units                = degrees
     standard_name        = grid_longitude
     axis                 = X
     coordinate_defines   = point
     actual_range         = [-33.88, 41.36]

  rotated_pole  
    Attributes:
     grid_mapping_name    = rotated_latitude_longitude
     grid_north_pole_latitude = 42.5
     grid_north_pole_longitude = 83.0
     north_pole_grid_longitude = 0.0

lat   (172 × 160)
    Datatype:    Float64
    Dimensions:  rlon × rlat
    Attributes:
     units                = degrees_north
     long_name            = latitude
     standard_name        = latitude
     actual_range         = [5.69197, 84.66]

  lon   (172 × 160)
    Datatype:    Float64
    Dimensions:  rlon × rlat
    Attributes:
     units                = degrees_east
     long_name            = longitude
     standard_name        = longitude
     actual_range         = [-179.96, 179.979]

I was wondering how I could transform the grid mapping to the a standard regular lat-lon (-90 to 90 and -180 to 180), so that I can compare with other datasets that are encoded in such a regular grid.

Again, I'm not sure such transformations is the aim of the package, so thanks for your patience and help that you can provide!

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