SciTools / iris

A powerful, format-agnostic, and community-driven Python package for analysing and visualising Earth science data
https://scitools-iris.readthedocs.io/en/stable/
BSD 3-Clause "New" or "Revised" License
626 stars 283 forks source link

Derived coordinates are not loaded anymore? #3961

Closed valeriupredoi closed 3 years ago

valeriupredoi commented 3 years ago

📰 Custom Issue

Hey guys, one more for me today, I am using this file and loading it simple:

import iris

cs = iris.load("/home/valeriu/ESMValCore/tests/integration/cmor/_fixes/test_data/common_cl_ap.nc")
for c in cs:
    print(c)

with iris=3 I am not seeing the derived coordinates no more:

bjlittle commented 3 years ago

You guys happy with this?

bjlittle commented 3 years ago

@valeriupredoi thanks, nuke the repo dude :+1:

valeriupredoi commented 3 years ago

You guys happy with this?

looks good to me but @schlunma is the hybrid guru ->

bjlittle commented 3 years ago

I've checked all the other aux factories that iris implements, and cross referenced with the CF Metadata Conventions, Appendix D: Parametric Vertical Coordinates and there isn't another example of a parametric vertical coordinate with alternative formulas to derive the same quantity, apart from Atmosphere hybrid sigma pressure coordinate.

So I don't think there are other similar suprises lurking in the depths waiting to surprise us...

bjlittle commented 3 years ago

Unless you tell me otherwise, I'm cracking on with 3.0.1...

valeriupredoi commented 3 years ago

Make-It-So1

schlunma commented 3 years ago

Cheers @bjlittle, I'm happy with it :+1: Thanks for your quick help!!

trexfeathers commented 3 years ago

Closed by #3965

bjlittle commented 3 years ago

@bouweandela @valeriupredoi @schlunma @jvegasbsc

iris 3.0.1 has already been tagged, the docs have already been built on readthedocs, and I've just kicked of an update on the conda-forge iris-feedstock... almost there :wink:

I'll ping the ESMValTool WhatsApp thread when conda-forge has pushed the built iris 3.0.1 package to the Anaconda Cloud channel - then you can install and test. Good luck! :crossed_fingers:

valeriupredoi commented 3 years ago

legend @bjlittle cheers very much! :beer:

bouweandela commented 3 years ago

Thanks for the amazingly quick bugfix and release! :partying_face:

bjlittle commented 3 years ago

Hit conda search -c conda-forge iris until iris 3.0.1 pops up... not sure when the channel is populated

bjlittle commented 3 years ago

💥 3.0.1 is live on conda-forge! go for it!

bjlittle commented 3 years ago

Installed iris 3.0.1 and tested... seems to work for me :wink: