Skip to content

Easierdata specific holding to the Chesapeake Bay marine heat wave study

License

Notifications You must be signed in to change notification settings

easierdata/chesapeake_mhw

Repository files navigation

Spatial variability of marine heatwaves in the Chesapeake Bay

codecov License:BSD-3-Clause pypi Documentation Status DOI

Authors

Rachel Wegener , Jacob O. Wenegrat, Veronica Lance, Skylar Lama

Environment Setup

Use poetry to install the dependencies. This can be done by running the following command in the root directory of the repository:

poetry install

A virtual environment will be created at this root of this repo and the dependencies will be installed.

Activate the environment by running:

poetry shell

Install the IPFS desktop app or Kubo CLI client as this will will allow you to run a local IPFS node on your machine.

Reproducing the pipeline

Overview of Steps:

  1. Download the datasets: geopolar, nasa mur, Chesepeake Bay program in situ data from IPFS using the scripts provided. There should then be three datasets in the data/raw folder after data has been processed.
  2. Run the notebooks in the notebooks folder. This generates the figures.

Organization

data Folder

Folders created to hold data throughout the processing pipeline, from raw data to fully processed data. The folders are empty on github, but the data can be processed running the following scripts:

  1. 00b1_download_from_ipfs.py - Downloads the data from IPFS and saves it to the directory ./data/scratch
    • Specify the collection to be downloaded by changing the DATASET variable in the script. Valid options for DATASET are geopolar, mur, or cbp
  2. 00b2_crop_satellite_data.py - Crops the satellite data to the Chesapeake Bay region and saves it to the directory ./data/interim. The images are then merged into a single .netcdf file and saved to ./data/raw.
    • Specify the collection to be downloaded by changing the DATASET variable in the script. Valid options for DATASET are geopolar or mur.

figures Folder

Contains the final figures, as generated in the data analysis notebooks

notebooks Folder

Jupyter notebooks written in Python with instructions for processing the data from the raw format through the generation of relevant figures.

About

Easierdata specific holding to the Chesapeake Bay marine heat wave study

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published