Replies: 5 comments 1 reply
|
Pinging @dbekaert @piyushrpt @bbuzz31 . |
|
|
Thanks @piyushrpt ! Just to document specifically the conclusions for our code:
|
|
Essentially (lat,lon,hgt) on sphere is assumed to be the same as (lat, lon, hgt) on the ellipsoid. With these other models, try tranforming (Xmap, Ymap, ht) to (Lon, Lat, ht) and if the ht remains the same - the path being used for coordinate transform does not worry about difference between sphere and ellipsoid. To be super precise you may want:
We are currently using: This is all from an old blog post about WRF: https://fabienmaussion.info/2018/01/06/wrf-projection/ |
|
It is this specific line that needs to be replaced with 2 calls: Line 389 in 2f28cb5
you will need to build |
Uh oh!
There was an error while loading. Please reload this page.
The issue:
Weather model data is accessed through various APIs that typically provides either geopotential heights or pressure levels. These need to be converted to ellipsoidal heights rather than geoid heights.
The Good News:
After some digging, I found that RAiDER does have functionality that should convert geoid heights to ellipsoid (I think):
The function
_geo_to_htgets called byecmwf.pyandhrrr.pyto convert heights, so presumably those ones are actually being converted to ellipsoidal heights.The Bad News
ecmwf.pyandhrrr.pyuse it, but GMAO, NCMR, MERRA-2 do not. It does look like all the ECMWF models call the functionAll reactions