metobs_toolkit.Modeldata#
- class Modeldata(modelname)[source]#
Class holding data and methods for a modeldata-timeseries.
Methods
__init__
(modelname)Initialize modeldata.
add_gee_dataset
(mapname, gee_location, ...)Add a new gee dataset to the available gee datasets.
add_obstype
(Obstype, bandname, band_units[, ...])Add a new Observation type for the current Modeldata.
convert_units_to_tlk
(obstype)Convert the model data of one observation to the standard units.
exploid_2d_vector_field
(obstype)Compute amplitude and direction of 2D vector field components.
get_ERA5_data
(metadf, startdt_utc, enddt_utc)Extract timeseries of the ERA5_hourly dataset.
get_gee_dataset_data
(mapname, metadf, ...[, ...])Extract timeseries of a gee dataset.
get_info
()Print out detailed information on the Modeldata.
import_modeldata
([folder_path, filename])Import a modeldata instance from a (pickle) file.
interpolate_modeldata
(to_multiidx)Interpolate modeldata in time.
Print out all the available gee datasets.
make_plot
([obstype_model, dataset, ...])Plot timeseries of the modeldata.
save_modeldata
([outputfolder, filename])Save a Modeldata instance to a (pickle) file.
set_model_from_csv
(csvpath)Import timeseries data that is stored in a csv file.