Skip to content

Is it correct for regrid_to_lower_res() to assume second axis is always latitude? #706

Discussion options

You must be logged in to vote

regrid_to_lower_res() is always used with assumption that two 2D variables are being compared. In the case of 3D variable is supplied, to extract one vertical slice is an operation as prerequisite. When refactoring, we should use more specific axis, rather than asume second axis is always latitude.
i.e. it seems like using cmorized dataset for testing revealed a couple weak points, which is good to have. Existing tests mostly use native-ish E3SM output..

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@chengzhuzhang
Comment options

Answer selected by tomvothecoder
@tomvothecoder
Comment options

tomvothecoder Jul 21, 2023
Maintainer Author

@chengzhuzhang
Comment options

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