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

Check units in WOA file #80

Closed
eguil opened this issue Apr 18, 2019 · 4 comments · Fixed by #82
Closed

Check units in WOA file #80

eguil opened this issue Apr 18, 2019 · 4 comments · Fixed by #82
Assignees
Labels

Comments

@eguil
Copy link
Owner

eguil commented Apr 18, 2019

area unit wrong (km2 rather than m2),
check scale factors

@durack1
Copy link
Collaborator

durack1 commented Apr 30, 2019

@eguil yep, it seems there are mixed units, just need to change the order of magnitude of https://github.com/eguil/Density_bining/blob/master/obs/make_areacello.py#L31

@durack1
Copy link
Collaborator

durack1 commented May 1, 2019

@eguil

netcdf \190501_1007_WOD18_masks_0p25deg {
dimensions:
        depth = 137 ;
        bound = 2 ;
        latitude = 720 ;
        longitude = 1440 ;
variables:
...
        float basinmask3_area(latitude, longitude) ;
                basinmask3_area:_FillValue = 1.e+20f ;
                basinmask3_area:missing_value = 1.e+20f ;
                basinmask3_area:earthLandAreaM2 = 148940000000000. ;
                basinmask3_area:oceanSurfaceAreaM2 = 352342040224260. ; <- 352.3 x 10^12 m^2
                basinmask3_area:earthWaterAreaM2 = 361132000000000. ;
                basinmask3_area:earthSurfaceAreaM2 = 510100000000000. ; <- 5.1 x 10^14 m^2
                basinmask3_area:units = "m^2" ;

@durack1
Copy link
Collaborator

durack1 commented May 7, 2019

@eguil @ysilvy there should be two PRs (Pull Requests) ready for either of you to merge that resolves both issues - I've left them as unmerged PRs so you can double check this solves the two issues

@durack1
Copy link
Collaborator

durack1 commented May 7, 2019

FYI they're at #82 and #83 respectively

@eguil eguil closed this as completed in #82 May 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants