wavy.insitu_readers
The main task of this module is to read insitu obs for further use.
Attributes
Functions
|
|
|
|
|
make frost api call |
|
frost call, retrieve data from frost v1 |
|
|
|
create pandas dataframe from frost call for v1 |
|
|
|
|
|
|
|
|
|
|
|
Gather values of a given variable, for which |
|
Module Contents
- wavy.insitu_readers.logger
- wavy.insitu_readers.insitu_dict
- wavy.insitu_readers.variable_def
- wavy.insitu_readers.variables_frost
- wavy.insitu_readers.get_typeid(insitu_dict: dict, s: str) str
- wavy.insitu_readers.make_frost_reference_time_period(sdate, edate)
- wavy.insitu_readers.call_frost_api(sdate: datetime.datetime, edate: datetime.datetime, nID: str, varstr: str, sensor: str) requests.models.Response
make frost api call
- wavy.insitu_readers.call_frost_api_v1(nID: str, varstr: str, frost_reference_time: str, client_id: str, sensor: str) requests.models.Response
frost call, retrieve data from frost v1
- wavy.insitu_readers.find_preferred(idx, sensors, refs, pref)
- wavy.insitu_readers.get_frost_df_v1(r: requests.models.Response) pandas.core.frame.DataFrame
create pandas dataframe from frost call for v1
- wavy.insitu_readers.get_frost(**kwargs)
- wavy.insitu_readers.get_nc_thredds(**kwargs)
- wavy.insitu_readers.get_nc_thredds_static_coords(**kwargs)
- wavy.insitu_readers.get_nc_thredds_static_coords_single_file(**kwargs)
- wavy.insitu_readers.get_cmems(**kwargs)
- wavy.insitu_readers.rebuild_split_variable(ds, fixed_dim_str, var)
Gather values of a given variable, for which values are split between several levels of a given dimension of a dataset.
- Args:
ds (xarray dataset): dataset fixed_dim_str (string): name of the dimension var (string): name of the variable
- Returns:
1D numpy array, returns the complete variable serie of values on a single dimension
- wavy.insitu_readers.build_xr_ds_cmems(dict_var, var_name_ref)