CrocoDash.raw_data_access.datasets package#

Submodules#

CrocoDash.raw_data_access.datasets.glorys module#

Data Access Module -> Glorys

CrocoDash.raw_data_access.datasets.glorys.get_glorys_data_from_cds_api(dates, lat_min, lat_max, lon_min, lon_max, output_dir=None, output_file=None, dataset_varnames=['zos', 'uo', 'vo', 'so', 'thetao'])#

Using the copernucismarine api, query GLORYS data (any dates)

CrocoDash.raw_data_access.datasets.glorys.get_glorys_data_from_rda(dates: list, lat_min, lat_max, lon_min, lon_max, output_dir=PosixPath('.'), output_file='raw_glorys.nc', dataset_varnames=['time', 'latitude', 'longitude', 'depth', 'zos', 'uo', 'vo', 'so', 'thetao']) Dataset#

Gather GLORYS Data on Derecho Computers from the campaign storage and return the dataset sliced to the llc and urc coordinates at the specific dates

CrocoDash.raw_data_access.datasets.glorys.get_glorys_data_script_for_cli(dates: tuple, lat_min, lat_max, lon_min, lon_max, output_dir, output_file) None#

Script to run the GLORYS data query for the CLI

CrocoDash.raw_data_access.datasets.seawifs module#

CrocoDash.raw_data_access.datasets.seawifs.get_global_seawifs_script_for_cli(dates='UNUSED', lat_min='UNUSED', lat_max='UNUSED', lon_min='UNUSED', lon_max='UNUSED', output_dir=None, output_file='UNUSED', username='')#

Downloads chlor_a data using NASA OceanData API with authentication.

Parameters:
  • username (str) – NASA Earthdata username (password will be prompted at runtime).

  • date (str, optional) – Currently unused; placeholder for future date-based filtering.

  • lat_min (float, optional) – Currently unused; placeholder for future spatial filtering.

  • lat_max (float, optional) – Currently unused; placeholder for future spatial filtering.

  • lon_min (float, optional) – Currently unused; placeholder for future spatial filtering.

  • lon_max (float, optional) – Currently unused; placeholder for future spatial filtering.

  • output_dir (str, optional) – Directory where downloaded files will be saved.

CrocoDash.raw_data_access.datasets.utils module#

CrocoDash.raw_data_access.datasets.utils.convert_lons_to_180_range(*lons)#

Module contents#