Scheduled Downtime
On Friday 21 April 2023 @ 5pm MT, this website will be down for maintenance and expected to return online the morning of 24 April 2023 at the latest

era5_to_int.py issue of " Error: Could not find file e5.oper.invariant.128_129_z.regn320sc.2016010100_2016010100.nc needed for ERA5 variable Z

xiaominghu

New member
I am trying to run WPS with ERA5 NetCDF files on derecho (/glade/derecho/scratch/xiaominghu/Run/CONUS/WRFV4.6.1/wrfERA52d_Rad4_Snudge_75s_ishallow_derecho_DFWncPressL.1985080212 ), era5_to_int.py has the issue of "
Error: Could not find file e5.oper.invariant.128_129_z.regn320sc.2016010100_2016010100.nc needed for ERA5 variable Z",

My command is
"
module load conda
conda activate npl-2025a
python ./era5_to_int.py -i 1985-08-02_12 1985-08-05_12 >& era5_to_int.py.log
"

I checked my previous log file of a successful run, it was found at "/gpfs/csfs1/collections/rda/decsdata/ds630.0/P/e5.oper.invariant/201601/e5.oper.invariant.128_129_z.regn320sc.2016010100_2016010100.nc", but it is not there anymore. Any idea?
 
Hi,
I just tested this with the same command, except I didn't use "python" at the beginning. So I just ran

./era5_to_int.py -i 1985-08-02_12 1985-08-05_12

and it worked without any issues. I assume you just recently cloned the era5_to_int.py program (within the past few weeks)? If you happened to clone it before then, try cloning again because there were some issues with the original code. Otherwise, try without the 'python' command in the command and see if that makes a difference. If not, I know this isn't a long-term solution, but you are welcome to grab the files from my Derecho directory (/glade/derecho/scratch/kkeene/xiaominghu/era5_to_int).
 
After cloning the era5_to_int.py program, ./era5_to_int.py -i 1985-08-02_18 1985-08-05_18 appeared worked fine under /glade/derecho/scratch/xiaominghu/Run/CONUS/WRFV4.6.1/wrfERA52d_Rad4_Snudge_75s_ishallow_derecho_DFWncPressL.1985080218 Thanks a lot!
I haven't verify the subsequent WRF simulation though, since the WRF jobs are not running yet.
 
Top