Skip to content

NOAA-EMC/MLGlobal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

84 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Global EAGLE ensemble

This project is part of Experimental AI Global and Limited-area Ensemble project (EAGLE), which is an ensemble GraphCast tuned on GDAS, ERA5 and HRES with GDAS as input. Thirty-one model weights were saved during training process. This repo contains scripts to run an ensemble-based cascaded version of the GraphCast weather model initialized with GEFSv12.

Table of Contents

Overview

The National Centers for Environmental Prediction (NCEP) provides GEFS data that can be used for ensemble weather prediction and analysis. Currently, a cron job is set up to transfer GEFS data from WCOSS2 to NOAA-NCEPDEV-NONE-CA-UFS-CPLDCLD bucket.

Installation

Creating an environment from an environment.yml file

conda env create -f environment.yml

To activate the env:

conda activate graphcast

If you would like to run on GPU, you'll need to update cuda-enabled jax:

pip install -U "jax[cuda12]"

Usage

Download model weights and statistics files:

aws s3 cp --recursive s3://noaa-nws-graphcastgfs-pds/EAGLE_ensemble/model_weights model_weights --no-sign-request

Generate IC from an individual ensemble member:

python gen_gefs_ics.py prev_datetime curr_datetime gefs_member -l 13 -o /path/to/output -d /path/to/download -k no

Run the model for an individual ensemble member:

python run_graphcast_ens.py -i /path/to/inputfile -o /path/to/output -w /path/to/stats -m gefs_member -c /path/to/{gefs_member}.pkl  -l forecast_length(steps) -p num_pressure_levels -u no -k yes

Slurm jobs for 31 members can be submitted with oper/submit_jobs.py. Change the env path in oper/gcjob_cloud_ens.sh accordingly, then run the script:

python submit_jobs.py -w /path/to/ens_weights

Output

The model is running 4 times a day at 00Z, 06Z, 12Z and 18Z. The model outputs are avaible on AWS s3 bucket.

Contact

For questions or issues, please contact:
[email protected]
[email protected]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •