Skip to content

save cube in TransverseMercator to grib2 #819

@wideblue

Description

@wideblue

When trying to save cube in Transverse Mercator coordinat system into grib2 I get the following error

Traceback (most recent call last): File "/home/damjan/testGribWrite.py", line 46, in <module> iris.fileformats.grib.save_grib2(cubes[0],'/home/damjan/Namizje/apr1km.grib2') File "/usr/local/lib/python2.7/dist-packages/Iris-1.5.1-py2.7-linux-i686.egg/iris/fileformats/grib/__init__.py", line 706, in save_grib2 raise TranslationError("Did not find one (and only one) " iris.exceptions.TranslationError: Did not find one (and only one) latitude or longitude coord

It seems that save_grib2 expects lat/long coordinates and doesn't realise that it should save Transverse Mercator coordinat system. I'm not completely sure if this is an issue or saving a cube in TransverseMercator to grib2 is not supported or I have to set something up before saving.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions