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

rearrange order of dimensions in pygetm.input.woa #24

Open
glessin opened this issue Jun 26, 2023 · 1 comment
Open

rearrange order of dimensions in pygetm.input.woa #24

glessin opened this issue Jun 26, 2023 · 1 comment

Comments

@glessin
Copy link

glessin commented Jun 26, 2023

Currently I have to preprocess WOA with:

def woa_times(nc):
return nc.transpose('time','lat','lon','depth')

this could be done internally in input.woa, or let pygetm infer it by name...

@jornbr
Copy link
Member

jornbr commented Jun 26, 2023

I think this can be done internally, yes. The input manager should be able to detect the need for a transpose and add it automatically, provided the depth axis is correctly recognized. NB that requires either the standard_name or the positive attribute to be set on the coordinate variable for depth. TBC

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