opendrift.export.io_netcdf

Module Contents

Functions

init(self, filename)

write_buffer(self)

close(self)

import_file_xarray(self, filename, chunks)

import_file(self, filename, times=None, elements=None)

Create OpenDrift object from imported file.

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)[source]
opendrift.export.io_netcdf.import_file(self, filename, times=None, elements=None)[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