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.seawifs.get_processed_global_seawifs_script_for_cli(dates='UNUSED', lat_min='UNUSED', lat_max='UNUSED', lon_min='UNUSED', lon_max='UNUSED', output_dir=PosixPath('.'), output_file='processed_seawifs.nc')#
Downloads chlor_a data from the CESM inputdata repository by generating a script users can run in their terminal. :param date: Currently unused; placeholder for future date-based filtering. :type date: str, optional :param lat_min: Currently unused; placeholder for future spatial filtering. :type lat_min: float, optional :param lat_max: Currently unused; placeholder for future spatial filtering. :type lat_max: float, optional :param lon_min: Currently unused; placeholder for future spatial filtering. :type lon_min: float, optional :param lon_max: Currently unused; placeholder for future spatial filtering. :type lon_max: float, optional :param output_dir: Directory where downloaded files will be saved. :type output_dir: str, optional :param output_file: filename in output directory :type output_file: str, optional
CrocoDash.raw_data_access.datasets.utils module#
- CrocoDash.raw_data_access.datasets.utils.convert_lons_to_180_range(*lons)#
- CrocoDash.raw_data_access.datasets.utils.write_bash_curl_script(url, script_name, output_dir, output_filename)#