Skip to content

Create restart state from ML projection using `nemo-spinup-forecast`

License

Notifications You must be signed in to change notification settings

m2lines/nemo-spinup-restart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nemo-spinup-restart

Update NEMO ocean model restart files with machine learning predictions.

Installation

Start by installing a virtual environment and then:

pip install .

Usage

nemo-spinup-restart --restart_path /path/to/restarts \
                    --radical RESTART_NAME \
                    --mask_file /path/to/mask.nc \
                    --prediction_path /path/to/predictions \
                    --ocean_terms ocean_terms.yaml

Required Arguments

  • --restart_path: Directory containing restart files
  • --radical: Restart filename pattern/radical
  • --mask_file: Path to NEMO mesh mask file
  • --prediction_path: Directory containing prediction numpy files

Optional Arguments

  • --ocean_terms: Path to ocean terms YAML configuration (default: ocean_terms.yaml)

License

MIT License - Adapted from Spinup-NEMO by Maud Tissot

About

Create restart state from ML projection using `nemo-spinup-forecast`

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages