Opened 17 months ago

Closed 17 months ago

Last modified 17 months ago

#3070 closed help (fixed)

converting hybrid height to altitude

Reported by: taubry Owned by: um_support
Component: UM Model Keywords: Iris, hybrid height, altitude
Cc: Platform: ARCHER
UM Version: 11.2



I am reading some variables from a dump file and need to extract the altitude (m above sea level). My understanding is that iris should create an altitude coordinate if there is an orography field but it is not created when I read my dump files and save variables of interest in a netcdf. I don't mind calculating the altitude "manually", but I can't find any routine or instruction to do that in the iris documentation.
Could you point me towards any helpful ressource? Apologize if I missed anything obvious.
If it is helpful, the python script I use to extract variables from my dump and save as netcdf is on ARCHER: /nerc/n02/n02/ta460/archive_2019_control/



Change History (3)

comment:1 Changed 17 months ago by taubry

  • Resolution set to fixed
  • Status changed from new to closed

comment:2 Changed 17 months ago by wilhelmhodder


My apologies, but how was this issue fixed? I am facing the same problem. I am completing my analysis on my institutional windows laptop, forcing me to use netcdf rather than pp files.

Best wishes,

comment:3 Changed 17 months ago by taubry

Hi Will,

So first when opening the file with Iris, the altitude was actually there. For some reason the software I am using to do my data amalysis (Matlab) did not see the altitude when opening the netcdf file. What are you using to open your netcdf?
I ended up modifying a piece of code (python/iris) provided by Luke Abraham to extract and save the altitude in a separate netcdf file. Let me know if you want it.


Note: See TracTickets for help on using tickets.