Skip to content

Metview regrid failing #50

@deepgabani8

Description

@deepgabani8

What happened?

Actual Results:
Upon running this:

import metview as mv

fs = mv.bindings.Fieldset(path='201201010000_FH-0.gb')
fieldset = mv.regrid(data=fs, grid=[0.1, 0.1])  # Error line.

Getting this:
image

Expected Results:
Create a fieldset with regulat_ll grid.

Additional Information:

  • Here is the data-file '201201010000_FH-0.gb' dataset:
    image

  • The data is ECMWF HRES historical of 2012. It is in reduced_gg grid-type with 640 GRIB_N.

  • metview's regrid is not able to convert this into a regular latlon grid.

  • Interestingly, when I do the same with 2017 year's data, which is with 1280 GRIB_N, metview regrid is working as expected. Here is a data-file of 201701010000_FH-1.gb:
    image

What are the steps to reproduce the bug?

Running this:

import metview as mv

fs = mv.bindings.Fieldset(path='201201010000_FH-0.gb')
fieldset = mv.regrid(data=fs, grid=[0.1, 0.1])  # Error line.

Version

v5.19.1

Platform (OS and architecture)

Linux test-weather-sp 5.10.0-22-cloud-amd64 #1 SMP Debian 5.10.178-3 (2023-04-22) x86_64 GNU/Linux

Relevant log output

No response

Accompanying data

No response

Organisation

Google

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions