-
Notifications
You must be signed in to change notification settings - Fork 10
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
Sign error in downwelling radiation? #248
Comments
I guess the problem is that the JRA55 data also has a sign inconsistent with Oceananigans convention:
To fix this we need to reverse the sign in the JRA55 data when it is loaded. I think we should always use the same sign convention to avoid confusion. This came up when trying to set up an idealized atmospheric state. |
Good catch! |
might this be connected with #248? |
Ah no, there are two "sign errors" that cancel out. First the fluxes are loaded with the wrong sign (by our convention). But then there is this second sign error that cancels it out. So the solar insolation is heating like it should be I think. But it could easily produce a bug in the future so i think its important to fix this |
These should be
+
not-
:ClimaOcean.jl/src/OceanSeaIceModels/CrossRealmFluxes/atmosphere_ocean_fluxes.jl
Line 447 in 8a880b5
Otherwise it implies that these fluxes have the opposite sign as the turbulent heat fluxes, eg
ClimaOcean.jl/src/OceanSeaIceModels/CrossRealmFluxes/atmosphere_ocean_fluxes.jl
Line 392 in 8a880b5
and it is also inconsistent with the upwelling radiation
ClimaOcean.jl/src/OceanSeaIceModels/CrossRealmFluxes/atmosphere_ocean_fluxes.jl
Lines 454 to 455 in 8a880b5
The text was updated successfully, but these errors were encountered: