Skip to content

NOAA-CEFI-Portal/regional_mom6

Repository files navigation

unittest

NOAA Climate, Ecosystems, and Fisheries Initiative (CEFI) - Data Portal Team

Regional MOM6 preprocessing package

This is a developing regional mom6 module help both preprocessing the data and perform various statistical analysis shown in Ross et al., 2023. Many scripts are the modified version of the GFDL CEFI github repository.

Current stage of the module is for estabilishing the processing workflow in the CEFI data portal. Future availability of a more sophisticated python pakcage for various end-user purposes is in the roadmap of this project.

We welcome external contribution to the package. Please feel free to submit issue for any inputs and joining the development core team. Thank you!

Active developement

To use the module in the package at this stage

  1. Create a conda/mamba env based on the region_mom.yml

    conda env create -f regional_mom6.yml
    
  2. Activate the conda env regional_mom6

    conda activate regional_mom6
    
  3. change your location to the top level of cloned repo

    cd <dir_path_to_regional_mom6>/regional_mom6/
    
  4. pip install the package in develop mode

    pip install -e .
    
  5. setup config file (data path for local data directory)

    cp config.json.template config.json
    

    open the config.json and input the absolute path to the top level of the regional mom6 data

    {
    "data_path": "<your-mom6data-path-here>"
    }
    

    current setup assuming the data directory structure is fixed (i.e. the historical run or forecast data subdirectory (ex: hist_run and forecast) need to be under this data_path )

About

CEFI regional MOM6 preprocessing package for CEFI data portal group

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages