opendrift.export.io_netcdf

Module Contents

Functions

init(self, filename)

write_buffer(self)

close(self)

import_file_xarray(self, filename, chunks[, elements])

import_file(self, filename[, times, elements, ...])

Create OpenDrift object from imported file.

Attributes

logger

skip_parameters

opendrift.export.io_netcdf.logger
opendrift.export.io_netcdf.skip_parameters = ['ID']
opendrift.export.io_netcdf.init(self, filename)[source]
opendrift.export.io_netcdf.write_buffer(self)[source]
opendrift.export.io_netcdf.close(self)[source]
opendrift.export.io_netcdf.import_file_xarray(self, filename, chunks, elements=None)[source]
opendrift.export.io_netcdf.import_file(self, filename, times=None, elements=None, load_history=True)[source]

Create OpenDrift object from imported file. times: indices of time steps to be imported, must be contineous range. elements: indices of elements to be imported