read

read(path)

Reads a data file specified by path.

Parameters

path (str) – file path

Return type

Metview data object (see below)

The resulting object type depends on the file format that is being read:

Input format

Object

GRIB

Fieldset

Geopoints

Geopoints

BUFR

Bufr

NetCDF

NetCDF

ODB

Odb

text

list (one item per line)

other

object of the corresponding type