CrocoDash.raw_data_access package#
Subpackages#
- CrocoDash.raw_data_access.datasets package
- Submodules
- CrocoDash.raw_data_access.datasets.glorys module
GLORYSGLORYS.boundary_fill_methodGLORYS.depth_coordGLORYS.descriptionGLORYS.eta_var_nameGLORYS.get_glorys_data_from_cds_api()GLORYS.get_glorys_data_from_rda()GLORYS.get_glorys_data_script_for_cli()GLORYS.linkGLORYS.loggerGLORYS.product_nameGLORYS.time_unitsGLORYS.time_var_nameGLORYS.tracer_lat_coordGLORYS.tracer_lon_coordGLORYS.tracer_var_namesGLORYS.tracer_x_coordGLORYS.tracer_y_coordGLORYS.u_lat_coordGLORYS.u_lon_coordGLORYS.u_var_nameGLORYS.u_x_coordGLORYS.u_y_coordGLORYS.v_lat_coordGLORYS.v_lon_coordGLORYS.v_var_nameGLORYS.v_x_coordGLORYS.v_y_coord
- CrocoDash.raw_data_access.datasets.seawifs module
- CrocoDash.raw_data_access.datasets.utils module
- Module contents
Submodules#
CrocoDash.raw_data_access.config module#
CrocoDash.raw_data_access.driver module#
CrocoDash.raw_data_access.utils module#
- CrocoDash.raw_data_access.utils.fill_template(template_path, output_path, **kwargs)#
Reads a template file, fills it with the provided arguments, and writes the filled content to a new file.
- Parameters:
template_path (str) – Path to the template file.
output_path (str) – Path to save the filled template.
**kwargs – Key-value pairs for substitution in the template.
- CrocoDash.raw_data_access.utils.load_config(config_path: str = 'config.json') dict#
Load a JSON config file.
- Parameters:
config_path (str, optional) – Path to the JSON config file. Default is “config.json”.
- Returns:
The loaded configuration as a dictionary.
- Return type:
dict
- CrocoDash.raw_data_access.utils.setup_logger(name)#
This function sets up a logger format for the package. It attaches logger output to stdout (if a handler doesn’t already exist) and formats it in a pretty way!
- Parameters:
name (str) – The name of the logger.
- Returns:
The logger
- Return type:
logging.Logger