Page 2 of 2

Re: History Reanalysis in WRF EMS 3.2.1 made easy [Guide]

Posted: Wed Mar 20, 2013 10:40 pm
by meteoadriatic
Try to download files manually and put them in grib directory:

http://soostrc.comet.ucar.edu/data/grib/ecmwf/1996/07/

then use --local flag.

Re: History Reanalysis in WRF EMS 3.2.1 made easy [Guide]

Posted: Wed Mar 20, 2013 11:09 pm
by j1d1w1
Thanks... into my /runs/domainname/grib directory? John

Re: History Reanalysis in WRF EMS 3.2.1 made easy [Guide]

Posted: Wed Mar 20, 2013 11:21 pm
by j1d1w1
Excellent -- thanks meteoadriatic... that worked. John

Re: History Reanalysis in WRF EMS 3.2.1 made easy [Guide]

Posted: Wed Oct 21, 2015 2:03 pm
by Antonix
I have a little problem with the ECMWF data taken from wrfems server.
I changed the name of the file as those that are on the server.
WRFEMS download them successfully, but when run ungrib "explode".
Any idea how I can fix?
It seems strange that Robert made available file can not be used.


*** Starting program ungrib.exe ***
Start_date = 2012-02-04_00:00:00 , End_date = 2012-02-04_12:00:00
output format is WPS
Path to intermediate files is /home/local/bora/wrfems/runs/1km/wpsprd/
ungrib - grib edition num 2
ERROR: Vtable does not contain Grib2 decoding information. 11 or 12 columns of information is expected. *** stopping parse_table ***

Re: History Reanalysis in WRF EMS 3.2.1 made easy [Guide]

Posted: Wed Oct 21, 2015 6:55 pm
by meteoadriatic
You don't have proper vtable. Did you tried one from WPS 3.7.1 tarball?

Re: History Reanalysis in WRF EMS 3.2.1 made easy [Guide]

Posted: Tue May 17, 2016 9:59 am
by nebojsa
How to make reanalyse with UEMS? FNL files are not supported.

Thanks!

Re: History Reanalysis in WRF EMS 3.2.1 made easy [Guide]

Posted: Mon Aug 22, 2016 4:11 pm
by JMeans
Hi Meteoadriatic and others,

Thanks for the tips on reanalysis. In your example, you just run the reanalysis for a single day, but when you actually do this I assume you run this over and over changing the date each time. How do you do this? Do you write a shell script that will execute those over and over, perhaps using the ems_autorun_wrapper to trigger when the script runs?

Thanks

Re: History Reanalysis in WRF EMS 3.2.1 made easy [Guide]

Posted: Mon Aug 22, 2016 6:40 pm
by meteoadriatic
Sure it is so easy.

Let's say you want to run model during whole 2015, one run = one day.

Code: Select all

#!/bin/bash

firstYYYY=2015
firstMM=01
firstDD=01

DATE=${firstYYYY}-${firstMM}-${firstDD}

for i in {0..364}
do
   NEXT_YEAR=$(date +%Y -d "$DATE + $i day")
   NEXT_MONTH=$(date +%m -d "$DATE + $i day")
   NEXT_DAY=$(date +%d -d "$DATE + $i day")
   echo "Running ${NEXT_YEAR} ${NEXT_MONTH} ${NEXT_DAY}"

#ems_autorun --date ${NEXT_YEAR}${NEXT_MONTH}${NEXT_DAY} --cycle 00 --length 24 --dset ..........
done
Create that script, and run it. If you get 365 lines that say "Running year month day" you're good to go. Uncommend ems_autorun line and fill up what is missing... or use ems_prep followed by ems_run and so on if you prefer...

Of course you will need to add some lines below ems_autorun line that will handle finished products for each day.. I hope you will do that easy.

Hope this helps.

Re: History Reanalysis in WRF EMS 3.2.1 made easy [Guide]

Posted: Mon Aug 22, 2016 7:24 pm
by JMeans
Yes meteoadriatic, anytime I can steal someone else's code that's a big help. Thanks a lot!