NOAA-EMC / graphcast

GraphCastGFS
https://graphcastgfs.readthedocs.io/en/latest/index.html
Apache License 2.0
17 stars 6 forks source link

Desired forecast length, cronjob schedule, upload realtime forecast to s3 bucket #22

Closed SadeghTabas-NOAA closed 5 months ago

SadeghTabas-NOAA commented 5 months ago

Description

This PR provides updates on the run_graphcast.py script to provide the flexibility of running graphcast for the desired forecast lead time. In addition, it provides scripts to schedule a cronjob on both cloud and hera machines. As the hera machine does not have access to the internet, we needed to break down the job to three sections including, generating inputs to graphcast, running graphcast, and uploading the forecast to s3 bucket. The first and and last sections will be run on the control node while the second one (running graphcast) will run on the compute node. Therefore a script is provided to call the upload_to_s3 function to upload the forecasts to s3 bucket. In addition, some bugs with 'gdas_utility.py` got fixed.

Linked Issues

Blocking Dependencies

Anticipated Changes

Input data

Needed libraries

SadeghTabas-NOAA commented 5 months ago

The code looks good, we can change the job names later.

Sure, Thanks

SadeghTabas-NOAA commented 5 months ago

The code looks good, we can change the job names later.

I did update the names. Thanks