Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Code to prepare ERA5-Land forcing for AMS tutorial 2024 #132

Conversation

CharlesZheZhang
Copy link
Collaborator

Modify the codes to generate ERA5-Land forcing and initial conditions for AMS tutorial 2024.

let last_year=$year-1
PREVIOUS_YEAR=/fas4/anav/INPUTS/ERA5_for_Noah-MP/YEARLY/ERA5-Land_Noah-MP_$last_year.grb
indate=${inyear}-${inmonth}-${inday}
INFILE=../../../ERA5_forcing/ERA5-Land-Noah-MP-${indate}.grib
Copy link
Collaborator

@cenlinhe cenlinhe Nov 28, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this needs to be INFILE=../../../ERA5_forcing/ERA5-Land-Noah-MP-${inyear}_${inmonth}_${inday}.grib, or you can rename your ERA5 input data file name. Similarly for the PREVIOUS_FILE below

@cenlinhe
Copy link
Collaborator

Please also submit a PR to develop branch to update the default ERA5 script in HRLDAS_forcing folder

results_dir = "/glade/scratch/zhezhang/ERA5/land/extract/INIT/"
data_dir = "../../../ERA5_forcing/"
infile = data_dir+"ERA5-Land-Noah-MP-2023_11_01_INIT.grib"
results_dir = "./OUTPUT/INIT/"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be "./OUTPUTS/INIT/"

Copy link
Collaborator

@tslin2 tslin2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

will be good to revise the line 3-13 in [Prepare_ERA5-Land_Forcing.sh] as well

@cenlinhe
Copy link
Collaborator

I am going to close this issue since we do not need the "AMS tutorial" branch anymore.

@cenlinhe cenlinhe closed this Nov 28, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants