metobs_toolkit.geedatasetmanagers.GEEDynamicDatasetManager#

class GEEDynamicDatasetManager(name: str, location: str, value_type: str, scale: int, time_res: str, modelobstypes: list, is_image: bool = False, is_mosaic: bool = False, credentials: str = '')[source]#

Class for working with Dynamic GEE modeldatasets.

__init__(name: str, location: str, value_type: str, scale: int, time_res: str, modelobstypes: list, is_image: bool = False, is_mosaic: bool = False, credentials: str = '')[source]#

Create a GeeDynamicDataset instance representing a GEE dataset with a time dimension.

Parameters:
  • name (str) – The user-defined name for referring to this GEE dataset.

  • location (str) – The location of the dataset on GEE.

  • value_type (str) – Specify how to interpret the values of the GEE dataset.

  • scale (int) – The scale of the dataset to extract values of.

  • time_res (str) – The time resolution of the dataset as a timedelta string.

  • modelobstypes (list) – List of ModelObstype and ModelObstype_Vectorfield for this dataset.

  • is_image (bool, optional) – If True, the GEE dataset is opened as ee.Image(), else ee.ImageCollection(). Default is False.

  • is_mosaic (bool, optional) – If True, ee.mosaic() is applied on the GEE dataset. Default is False.

  • credentials (str, optional) – Credentials of the GEE dataset. Default is “”.

Return type:

None

Methods

__init__(name, location, value_type, scale, ...)

Create a GeeDynamicDataset instance representing a GEE dataset with a time dimension.

add_modelobstype(modelobstype)

Add a new ModelObstype to the GeeDynamicDataset.

extract_timeseries_data(metadf, startdt_utc, ...)

Extract timeseries data and set the modeldf.

get_info([printout])

Print out detailed information about the GeeDynamicDataset.

make_gee_plot(metadf, timeinstance[, ...])

Make an interactive spatial plot of the GEE dataset and the stations.