pymt.services.gridreader package

Submodules

pymt.services.gridreader.gridreader module

class pymt.services.gridreader.gridreader.TimeInterpolator[source]

Bases: object

finalize()[source]
get_current_time()[source]
get_end_time()[source]
get_grid_origin(grid_id)[source]
get_grid_shape(grid_id)[source]
get_grid_spacing(grid_id)[source]
get_input_var_names()[source]
get_output_var_names()[source]
get_start_time()[source]
get_value(name)[source]
initialize(source)[source]
update_until(time)[source]
pymt.services.gridreader.gridreader.get_abspath_or_url(filename, prefix='')[source]
pymt.services.gridreader.gridreader.read_configuration(source)[source]

pymt.services.gridreader.interpolate module

pymt.services.gridreader.interpolate.create_interpolator(fields, time_stamps, kind='linear')[source]
pymt.services.gridreader.interpolate.create_interpolators(times, fields, prefix='', kind='linear')[source]
pymt.services.gridreader.interpolate.get_field_values(fields, names)[source]
pymt.services.gridreader.interpolate.get_time_series_values(field, ordering='ascending', prefix='')[source]

pymt.services.gridreader.time_series_names module

exception pymt.services.gridreader.time_series_names.Error[source]

Bases: Exception

exception pymt.services.gridreader.time_series_names.TimeSeriesNameError(name)[source]

Bases: Error

exception pymt.services.gridreader.time_series_names.TimeStampError(time_stamp)[source]

Bases: Error

pymt.services.gridreader.time_series_names.extract_time_stamps_from_names(names, ordering='ascending', prefix='')[source]
pymt.services.gridreader.time_series_names.get_time_series_names(names)[source]
pymt.services.gridreader.time_series_names.sort_time_series_names(names, ordering='ascending', prefix='')[source]
pymt.services.gridreader.time_series_names.split(name)[source]
pymt.services.gridreader.time_series_names.time_stamp_as_string(time_stamp)[source]
pymt.services.gridreader.time_series_names.unsplit(name, time_stamp)[source]

Module contents