Skip to content

RS-ML-Hub/HABs_Downloader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Retrieve Harmful Algal Blooms Data

  • This script is designed to download in situ data related to Harmful Algal Blooms (HABs) from the Akashiwo "red tide" network, managed by the Fisheries Agency of Japan.
  • The script automates the process of finding and retrieving available HABs data within a specified date range and collects Ancillary Data from each station.

Data Source

  • The HABs data are sourced from the Akashiwo network of the Fisheries Agency, Japan.

Targeted Species

Dependencies

This code was developed using Windows 11 and Python 3.10. We recommend creating a new conda environment and installing the required dependencies with the following commands:

conda env create -f environment.yml
conda activate HABs_env

Running the code

  • Clone the repository
git clone https://github.com/RS-ML-Hub/HABs_Downloader.git

Script Workflow

1.Configure Dates: Edit the YYYYMMDD_s and YYYYMMDD_e variables in HABs_Data_Downloader.py to set the start and end dates.

  • YYYYMMDD_s: Start date in "YYYY/MM/DD" format. (e.g., "2023/01/01")
  • YYYYMMDD_e: End date in "YYYY/MM/DD" format. (e.g., "2023/09/30")
  1. Run the script
python HABs_Data_Downloader.py
  1. CSV Output: A CSV file named HABs__{YYYYMMDD_s}_{YYYYMMDD_e}.csv (e.g., HABs__20230101_20230930.csv) will be generated in the script's directory.

To cite the code use: DOI

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages