OceanRAIN

class typhon.files.handlers.ocean_rain.OceanRAIN(**kwargs)[source]

File handler that can read data from OceanRAIN NetCDF4 files.

This object handles OceanRAIN V1.0 NetCDF4 files such as they are compatible with typhon.collocations, i.e.:

  • rename latitude and longitude field to lat and lon.

  • convert the content of the time variable to numpydtetime64 objects.

Examples

Draw a world map with all measurements of OceanRAIN:

__init__(**kwargs)[source]

Initializes a OceanRAIN file handler class.

Parameters:

**kwargs – Additional key word arguments that are allowed for the typhon.spareice.handlers.common.NetCDF4 class.

Methods

__init__(**kwargs)

Initializes a OceanRAIN file handler class.

get_info(file, **kwargs)

Get information about an OceanRAIN dataset file

read(filename, **kwargs)

Read and parse a NetCDF file and load it to a xarray.Dataset

write(data, filename, **kwargs)

Save a xarray.Dataset to a NetCDF4 file