History Reanalysis in WRF EMS 3.2.1 made easy [Guide]

You know something useful, tips&tricks, have some unofficial documentation...? Please share your knowledge with us in this section of EMS forum. * * * Please DON'T open topics with questions in this section! * * *
meteoadriatic
Posts: 1515
Joined: Wed Aug 19, 2009 10:05 am

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

Post by meteoadriatic » Wed Mar 20, 2013 10:40 pm

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.

j1d1w1
Posts: 32
Joined: Wed Mar 13, 2013 2:02 am

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

Post by j1d1w1 » Wed Mar 20, 2013 11:09 pm

Thanks... into my /runs/domainname/grib directory? John

j1d1w1
Posts: 32
Joined: Wed Mar 13, 2013 2:02 am

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

Post by j1d1w1 » Wed Mar 20, 2013 11:21 pm

Excellent -- thanks meteoadriatic... that worked. John

Antonix
Posts: 256
Joined: Fri Oct 16, 2009 8:53 am

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

Post by Antonix » Wed Oct 21, 2015 2:03 pm

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 ***

meteoadriatic
Posts: 1515
Joined: Wed Aug 19, 2009 10:05 am

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

Post by meteoadriatic » Wed Oct 21, 2015 6:55 pm

You don't have proper vtable. Did you tried one from WPS 3.7.1 tarball?

nebojsa
Posts: 133
Joined: Sun Mar 21, 2010 3:40 pm

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

Post by nebojsa » Tue May 17, 2016 9:59 am

How to make reanalyse with UEMS? FNL files are not supported.

Thanks!

JMeans
Posts: 15
Joined: Wed Jan 16, 2013 7:34 am

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

Post by JMeans » Mon Aug 22, 2016 4:11 pm

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

meteoadriatic
Posts: 1515
Joined: Wed Aug 19, 2009 10:05 am

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

Post by meteoadriatic » Mon Aug 22, 2016 6:40 pm

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.

JMeans
Posts: 15
Joined: Wed Jan 16, 2013 7:34 am

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

Post by JMeans » Mon Aug 22, 2016 7:24 pm

Yes meteoadriatic, anytime I can steal someone else's code that's a big help. Thanks a lot!

Post Reply

Who is online

Users browsing this forum: No registered users and 0 guests