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

Alpine-3D writes SWE to netCDF, but units are off. #2

Closed
EricKeenan opened this issue Jun 17, 2020 · 3 comments
Closed

Alpine-3D writes SWE to netCDF, but units are off. #2

EricKeenan opened this issue Jun 17, 2020 · 3 comments
Labels
bug Something isn't working low priority Should be fixed, but noncritical

Comments

@EricKeenan
Copy link
Collaborator

netCDF metadata indicate SWE units are meters liquid water equivalent, but values are around 1000. So I guess they are in mm?

xarray.DataArray'swe'northing: 107easting: 168
1040.2449 1040.1312 1039.4742 1039.2972 1039.1523 ... nan nan nan nan
Coordinates:
time
()
datetime64[ns]
1980-01-09T12:00:00
northing
(northing)
float32
-109000.0 -108000.0 ... -3000.0
easting
(easting)
float32
-1542000.0 ... -1375000.0
Attributes:
standard_name :
lwe_thickness_of_surface_snow_amount
units :
m
@EricKeenan EricKeenan added bug Something isn't working low priority Should be fixed, but noncritical labels Jun 17, 2020
@EricKeenan
Copy link
Collaborator Author

Slightly off-topic from the original issue - but I think it would be nice to add the following information to the netCDF files.

  • Grid cell area: Computing integrated quantities, i.e. SMB in Gt.

  • Lat/Lon in WGS-84: Useful for those not familiar with plotting in different coordinate systems.

@nwever
Copy link
Collaborator

nwever commented Aug 4, 2020

Units for SWE correct as of commit c521202.

@EricKeenan
Copy link
Collaborator Author

Great! Closing this issue now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working low priority Should be fixed, but noncritical
Projects
None yet
Development

No branches or pull requests

2 participants