Coder Social home page Coder Social logo

Tables incomplete? about iris-grib HOT 4 CLOSED

scitools avatar scitools commented on July 28, 2024
Tables incomplete?

from iris-grib.

Comments (4)

JoaoGF21 avatar JoaoGF21 commented on July 28, 2024

Hi,
we are working a lot with different NWP models, and I was hoping iris-grib would be the glue to join the NetCDF and GRIB worlds. I already have some homebrew classes to deal with this mess, but of course it would be much more attractive to leverage the power of iris for this job. However, after installing from conda

ecmwf_grib                1.23.1                        0    conda-forge
iris                      1.13.0                   py27_1    conda-forge
iris-grib                 0.10.1                   py27_0    conda-forge
python-ecmwf_grib         1.23.1                   py27_0    conda-forge

I still get a lot of unknown fields for most of our GRIB data (examples for GFS-4, ECMWF and Environment Canada GDPS appended). These fields check out fine when I run e.g. grib_ls in the command line, where grib_info also points to the exact conda environment I run the Python code from:

grib_api Version 1.23.1
Default definition files path is used: /user/martin/.conda/envs/dev/share/grib_api/definitions

Can anyone explain this effect? I'm quite motivated to help getting this thing to fly, but I would appreciate someone pointing me in the right direction first.

Another (probably related?) issue is that for e.g. the GFS-4 in my example, I get like 10 cubes of y_wind having the exact same metadata. In reality, they differ in levelType. Can I somehow tell the load function to attach the levelType (and/or any other parameters I'm interested in) to the cube as a meta-parameter? Or is the philosophy here to fiddle with the GribMessages on a low level and then call load_pairs_from_fields?

iris_grib_issues.txt

Best Regards,
Martin

Hi, Martin,

I am facing the same issues trying to use iris 2.2 to read GFS 0.25.
Did you find a solution?

Thank you in advance.

Best Regards,

Joao Gabriel

from iris-grib.

marfel avatar marfel commented on July 28, 2024

Hi Joao,

sadly, since there was no response to my cry for help, I put the issue aside for now and stuck to my old code. The problem remains, however. Also, since xarray seems to be taking root in the met community and the conversion to/from iris is simple, for me that would be one more reason to try migrating my stuff to iris. Please let me know if you plan on working on this issue, perhaps we can pool resources.

Best,
Martin

from iris-grib.

zklaus avatar zklaus commented on July 28, 2024

Recently, we have been facing a similar issue. It seems this is now related to the metarelate project. @marqh, could you shed some light, maybe point to a tutorial on how to add new parameters?

from iris-grib.

pp-mo avatar pp-mo commented on July 28, 2024

@SciTools/peloton believe this is now old enough to put itself to bed.
Please re-open if you think there are still things to be addressed here.
BTW I think that #318 may fix the different level-types issue ?

from iris-grib.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.