python-iris

How to plot a vertical section of the atmosphere along with the topography using the Iris module?

爱⌒轻易说出口 提交于 2021-01-29 12:55:29
问题 I have a netcdf with wind speed at model levels. On the same netcdf I have the altitude of each model level. I converted netcdf to a cube, so the altitude of each level became an auxiliary coordinate. I would like to plot a cross section (longitude x longitude) and would like the model levels to follow the topography. I tried using the Iris module documentation example (https://scitools.org.uk/iris/docs/latest/examples/General/cross_section.html), but it's not working. As I already have the

Python iris NetCDF time gone awry

倾然丶 夕夏残阳落幕 提交于 2019-12-12 04:35:32
问题 Something seems to have gone wrong between yesterday and today. I’m wondering if you might be able to help? This is all running Python using iris. Basically when I ran my code yesterday I got the first graph here, but today I get the second: If I run just one of the CORDEX models (blue line) and one of the observed data (black) on their own, you can see they both run but the cordex model seems to have something funny going on with its time. So I printed the time coordinates for each I get the