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

Inconsistent order in dimensions #9

Open
ziu1986 opened this issue Jun 11, 2019 · 0 comments
Open

Inconsistent order in dimensions #9

ziu1986 opened this issue Jun 11, 2019 · 0 comments

Comments

@ziu1986
Copy link
Contributor

ziu1986 commented Jun 11, 2019

In cmn_met.f90:
!// Winds(U & V), water(Q), temperature(T), surf press(P)
real(r8), dimension(IPAR,JPAR,LPAR) :: U, V, Q, T

BUT

!// 3D fields set up for column treatment (LPAR,IPAR,JPAR)
real(r8), dimension(LPAR,IPAR,JPAR) :: &
PVU, & !// Potential vorticity
UMS, & !// Winds [m/s] (used in physics routines, not in transport)
VMS !// Winds [m/s] (used in physics routines, not in transport)

real(r8), dimension(LPAR+1,IPAR,JPAR) :: ZOFLE

This is really dangerous and could lead to wrong assessments. Should be changed in the future.

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