Comments (30)
- We are trying to test run the whole "workflow" (WPS -> WRF) geogrid has been done.
- The gist link is: https://gist.github.com/brightfan/e07cb3c89e6fa8aae835
- Which directory you want to see? I have a build directory, a execution directory and a data directory.
from wrf-downscaling.
I need to see the ls -l output for your WRF run directory.
from wrf-downscaling.
Perhaps schedule a time to work this out using screen so @scappsvp can
execute this directly
On Friday, September 12, 2014, scappsvp [email protected] wrote:
I need to see the ls -l output for your WRF run directory.
—
Reply to this email directly or view it on GitHub
#1 (comment)
.
from wrf-downscaling.
[[email protected]: WRF-run]$ pwd
/home1/01701/yefan/WRF-run
[[email protected]: WRF-run]$ ls -l
total 32
-rw------- 1 yefan G-800846 587 Aug 27 16:12 geogrid.script
-rw------- 1 yefan G-800846 1493 Aug 27 16:12 GeoGrid-Test-Run.o3992710
-rw------- 1 yefan G-800846 584 Aug 27 16:50 ungrib.script
-rw------- 1 yefan G-800846 223 Aug 27 16:50 UnGrib-Test-Run.o3992972
-rw------- 1 yefan G-800846 223 Aug 27 16:56 UnGrib-Test-Run.o3992989
-rw------- 1 yefan G-800846 223 Aug 27 16:58 UnGrib-Test-Run.o3992995
-rw------- 1 yefan G-800846 223 Aug 27 17:02 UnGrib-Test-Run.o3993008
-rw------- 1 yefan G-800846 223 Aug 28 12:36 UnGrib-Test-Run.o3997623
[[email protected]: WPS]$ pwd
/home1/01701/yefan/WRF/Build_WPS/WPS
[[email protected]: WPS]$ ls -l
total 8048
drwx------ 2 yefan G-800846 4096 Apr 18 17:45 arch
-rwx------ 1 yefan G-800846 1735 Apr 18 2013 clean
-rwx------ 1 yefan G-800846 4105 Apr 18 2013 compile
-rwx------ 1 yefan G-800846 11514 Oct 2 2013 configure
-rw------- 1 yefan G-800846 3316 Aug 26 13:28 configure.wps
-rw------- 1 yefan G-800846 2346084 Aug 27 16:12 geo_em.d01.nc
-rw------- 1 yefan G-800846 5686396 Aug 27 16:12 geo_em.d02.nc
drwx------ 4 yefan G-800846 4096 Aug 26 13:28 geogrid
lrwxrwxrwx 1 yefan G-800846 23 Aug 26 13:28 geogrid.exe -> geogrid/src/geogrid.exe
-rw------- 1 yefan G-800846 18717 Aug 27 16:12 geogrid.log
lrwxrwxrwx 1 yefan G-800846 26 Aug 27 16:46 GRIBFILE.AAA -> /work/01701/yefan/WRF/GRIB
-rwx------ 1 yefan G-800846 1328 Nov 25 2006 link_grib.csh
-rw------- 1 yefan G-800846 96596 Aug 26 13:29 log.compile
drwx------ 3 yefan G-800846 4096 Aug 26 13:29 metgrid
lrwxrwxrwx 1 yefan G-800846 23 Aug 26 13:29 metgrid.exe -> metgrid/src/metgrid.exe
-rw------- 1 yefan G-800846 741 Aug 28 12:35 namelist.wps
-rw------- 1 yefan G-800846 2153 Apr 4 12:31 namelist.wps.all_options
-rwx------ 1 yefan G-800846 1207 Apr 4 12:31 namelist.wps.fire
-rw------- 1 yefan G-800846 1079 Apr 4 12:31 namelist.wps.global
-rw------- 1 yefan G-800846 656 Apr 4 12:31 namelist.wps.nmm
-rw------- 1 yefan G-800846 6328 Apr 18 17:39 README
drwx------ 4 yefan G-800846 4096 Aug 26 13:29 ungrib
lrwxrwxrwx 1 yefan G-800846 21 Aug 26 13:29 ungrib.exe -> ungrib/src/ungrib.exe
-rw------- 1 yefan G-800846 652 Aug 28 12:36 ungrib.log
drwx------ 3 yefan G-800846 4096 Aug 27 15:48 util
lrwxrwxrwx 1 yefan G-800846 33 Aug 27 16:44 Vtable -> ungrib/Variable_Tables/Vtable.ARW
[[email protected]: GRIB]$ pwd
/work/01701/yefan/WRF/GRIB
[[email protected]: GRIB]$ ls -l
total 493688
-rw------- 1 yefan G-800846 232879776 Aug 27 16:22 ERA-Int_pl_1987-09-30.grb
-rw------- 1 yefan G-800846 232879776 Aug 27 16:23 ERA-Int_pl_1987-10-01.grb
-rw------- 1 yefan G-800846 19880512 Aug 27 16:22 ERA-Int_sfc_1987-09-30.grb
-rw------- 1 yefan G-800846 19880512 Aug 27 16:23 ERA-Int_sfc_1987-10-01.grb
from wrf-downscaling.
You are not linking to any grib files that I can see, correct? Make you link to them properly before running ungrib.exe.
Also, make sure you prepare the invariant data as well. Probably should do that first. If you don't have these files, I can send them:
inv_geopotential2.grb
inv_landseamask.grb
These need to be converted from grib to WRF's intermediate format.
Then, ./link_grib.csh /work/01701/yefan/WRF/GRIB/ERA, change namelist.wps and ./ungrib.exe.
from wrf-downscaling.
@scappsvp where can we retrieve the invariant files?
from wrf-downscaling.
I just sent them via dropbox to your email. Let me know if you don't get them.
from wrf-downscaling.
I think a little progress has been made.
I relinked the grb file:
lrwxrwxrwx 1 yefan G-800846 52 Sep 17 17:12 GRIBFILE.AAA -> /work/01701/yefan/WRF/GRIB/ERA-Int_pl_1987-09-30.grb
lrwxrwxrwx 1 yefan G-800846 52 Sep 17 17:12 GRIBFILE.AAB -> /work/01701/yefan/WRF/GRIB/ERA-Int_pl_1987-10-01.grb
lrwxrwxrwx 1 yefan G-800846 53 Sep 17 17:12 GRIBFILE.AAC -> /work/01701/yefan/WRF/GRIB/ERA-Int_sfc_1987-09-30.grb
lrwxrwxrwx 1 yefan G-800846 53 Sep 17 17:12 GRIBFILE.AAD -> /work/01701/yefan/WRF/GRIB/ERA-Int_sfc_1987-10-01.grb
I'm seeing this error in the log:
Subroutine DATINT: Interpolating 3-d files to fill in any missing data...
Looking for data at time 1987-09-30_12
ERROR: Data not found: 1987-09-30_12:00:00.0000
I guess the data files retrieved from the python script are not enough?
I have this in the namelist file:
&share
wrf_core = 'ARW',
max_dom = 2,
start_date = '1987-09-30_12:00:00','1987-09-30_12:00:00',
end_date = '1987-09-30_18:00:00','1987-09-30_18:00:00',
interval_seconds = 21600
io_form_geogrid = 2,
/
Thanks
Ye
from wrf-downscaling.
I placed inv_geopotential2.grb and inv_landseamask.grb in the era-int folder
However, we already had exact copies of these in the repository (see diffs below); I will remove the old versions.
$ diff inv_geopotential.grb inv_geopotential2.grb
$ diff landmask.grib inv_landseamask.grb
$ xxd landmask.grib > b1.hex
$ xxd inv_landseamask.grb > b2.hex
$ diff b1.hex b2.hex
$ xxd inv_geopotential.grb > b1.hex
$ xxd inv_geopotential2.grb > b2.hex
$ diff b1.hex b2.hex
from wrf-downscaling.
Are you only doing 2 domains? In your namelist, I see only one nested domain. Also, because you are starting on the 30th, you will need the 29th so it can interpolate the data across the 30th. And, start the run on the 30th at 00Z instead of 12Z.
Before running metgrid.exe, you will need to ungrib the files:
inv_geopotential2.grb
inv_landseamask.grb
Change namelist first:
&share
wrf_core = 'ARW',
max_dom = 2,
start_date = '1989-01-01_12:00:00','1989-01-01_12:00:00',
end_date = '1989-01-01_12:00:00','1989-01-01_12:00:00',
interval_seconds = 21600
io_form_geogrid = 2,
/
For landseamask:
&ungrib
out_format = 'WPS',
prefix = 'LSM',
/
And, then for geopotential:
&ungrib
out_format = 'WPS',
prefix = 'Z',
/
After that, you should have the following in the directory:
LSM:1989-01-01_12
Z:1989-01-01_12
Then, update namelist.wps:
&metgrid
fg_name = 'ERA','ERASFC'
io_form_metgrid = 2,
constants_name='./LSM:1989-01-01_12','./Z:1989-01-01_12',
/
from wrf-downscaling.
If you don't mind, let's focus on the grib file downloaded though python script first.
Today I downloaded new data set:
lrwxrwxrwx 1 yefan G-800846 52 Sep 18 14:33 GRIBFILE.AAA -> /work/01701/yefan/WRF/GRIB/ERA-Int_pl_2008-01-05.grb
lrwxrwxrwx 1 yefan G-800846 52 Sep 18 14:33 GRIBFILE.AAB -> /work/01701/yefan/WRF/GRIB/ERA-Int_pl_2008-01-06.grb
lrwxrwxrwx 1 yefan G-800846 52 Sep 18 14:33 GRIBFILE.AAC -> /work/01701/yefan/WRF/GRIB/ERA-Int_pl_2008-01-07.grb
lrwxrwxrwx 1 yefan G-800846 52 Sep 18 14:33 GRIBFILE.AAD -> /work/01701/yefan/WRF/GRIB/ERA-Int_pl_2008-01-08.grb
lrwxrwxrwx 1 yefan G-800846 52 Sep 18 14:33 GRIBFILE.AAE -> /work/01701/yefan/WRF/GRIB/ERA-Int_pl_2008-01-09.grb
lrwxrwxrwx 1 yefan G-800846 53 Sep 18 14:33 GRIBFILE.AAF -> /work/01701/yefan/WRF/GRIB/ERA-Int_sfc_2008-01-05.grb
lrwxrwxrwx 1 yefan G-800846 53 Sep 18 14:33 GRIBFILE.AAG -> /work/01701/yefan/WRF/GRIB/ERA-Int_sfc_2008-01-06.grb
lrwxrwxrwx 1 yefan G-800846 53 Sep 18 14:33 GRIBFILE.AAH -> /work/01701/yefan/WRF/GRIB/ERA-Int_sfc_2008-01-07.grb
lrwxrwxrwx 1 yefan G-800846 53 Sep 18 14:33 GRIBFILE.AAI -> /work/01701/yefan/WRF/GRIB/ERA-Int_sfc_2008-01-08.grb
lrwxrwxrwx 1 yefan G-800846 53 Sep 18 14:33 GRIBFILE.AAJ -> /work/01701/yefan/WRF/GRIB/ERA-Int_sfc_2008-01-09.grb
The data covers dates from 2008-01-05 to 2008-01-09.
Made three attempts with different start/end time:
------------------------------------------------------------------------------------------------------------------------------
Start_date = 2008-01-07_12:00:00 , End_date = 2008-01-07_12:00:00
Looking for data at time 2008-01-07_12
ERROR: Data not found: 2008-01-07_12:00:00.0000
------------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------------
Start_date = 2008-01-07_00:00:00 , End_date = 2008-01-07_12:00:00
Looking for data at time 2008-01-07_00
ERROR: Data not found: 2008-01-07_00:00:00.0000
------------------------------------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------------------------------------
Start_date = 2008-01-07_00:00:00 , End_date = 2008-01-07_00:00:00
Looking for data at time 2008-01-07_00
ERROR: Data not found: 2008-01-07_00:00:00.0000
------------------------------------------------------------------------------------------------------------------------------
You said start the run on 30th at 00Z instead of 12Z.
Later in the namelist file you gave:
start_date = '1989-01-01_12:00:00','1989-01-01_12:00:00',
end_date = '1989-01-01_12:00:00','1989-01-01_12:00:00',
I'm a bit confused.
from wrf-downscaling.
You need to start with my instructions for the invariant files to make sure you can run ungrib properly. So, those two invariant grib files need to be in the same directory (or, softlinks to those files) as your link to ungrib.exe. Modify the namelist.wps following my instructions above (Let's do the landsea mask first):
&share
wrf_core = 'ARW',
max_dom = 2,
start_date = '1989-01-01_12:00:00','1989-01-01_12:00:00',
end_date = '1989-01-01_12:00:00','1989-01-01_12:00:00',
interval_seconds = 21600
io_form_geogrid = 2,
/
and:
&ungrib
out_format = 'WPS',
prefix = 'LSM',
/
from wrf-downscaling.
Also, again, I noticed you are only using two domains. You need to confirm this with David but, last time I remember we were using three domains.
from wrf-downscaling.
Scott is correct that we want to use the three domains that he originally set up, (see fig. below)
This namelist.wps has two domains, we should be using three - the one we were setting up with Scott is in install/namelist.wps
from wrf-downscaling.
Thanks for the prompt response, Scott and David.
So I changed the namelist.wps file to use three domain:
&share
wrf_core = 'ARW',
max_dom = 3,
start_date = '2008-01-07_00:00:00','2008-01-07_00:00:00','2008-01-07_00:00:00',
end_date = '2008-01-08_00:00:00','2008-01-08_00:00:00','2008-01-08_00:00:00',
interval_seconds = 21600
io_form_geogrid = 2,
/
&geogrid
parent_id = 1, 1, 2,
parent_grid_ratio = 1, 3, 3,
i_parent_start = 1, 37,71,
j_parent_start = 1, 35,65,
e_we = 140, 202,187,
e_sn = 130, 178,163,
geog_data_res = 'modis_30s+10m','modis_30s+2m','modis_30s+30s',
dx = 18000,
dy = 18000,
map_proj = 'lambert',
ref_lat = -18.2,
ref_lon = -49.,
truelat1 = -17.1,
truelat2 = -19.2,
stand_lon = -49.,
geog_data_path = '/work/01701/yefan/WRF/GEOG/'
/
And I tried to re-run geogrid step. However, I got this error:
Parsed 22 entries in GEOGRID.TBL
Processing domain 1 of 3
ERROR: Could not open /work/01701/yefan/WRF/GEOG/topo_10m/index
[unset]: aborting job:
application called MPI_Abort(MPI_COMM_WORLD, 0) - process 0
The GEOGRID.TBL is linked to GEOGRID.TBL.ARW
lrwxrwxrwx 1 yefan G-800846 15 Aug 26 13:25 GEOGRID.TBL -> GEOGRID.TBL.ARW
from wrf-downscaling.
Does this file exist? /work/01701/yefan/WRF/GEOG/topo_10m/index and do you have rights?
from wrf-downscaling.
Yes to that file. But no to lai_modis_10m/index.
These folder have presence:
albedo_ncep hasyw hstdv landuse_5m orogwd_2deg soiltype_top_10m topo_2m
greenfrac hcnvx hzmax maxsnowalb orogwd_30m soiltype_top_2m topo_30s
hangl hlennw islope modis_landuse_20class_30s soiltemp_1deg soiltype_top_30s topo_5m
hanis hlens landuse_10m modis_landuse_21class_30s soiltype_bot_10m soiltype_top_5m varsso
hasynw hlensw landuse_2m orogwd_10m soiltype_bot_2m ssib_landuse_10m
hasys hlenw landuse_30s orogwd_1deg soiltype_bot_30s ssib_landuse_5m
hasysw hslop landuse_30s_with_lakes orogwd_20m soiltype_bot_5m topo_10m
Where can I get this lai_modis dataset?
(Could not open /work/01701/yefan/WRF/GEOG/lai_modis_10m/index)
from wrf-downscaling.
If you are using WRF 3.6 or greater, just download the entire dataset from:
http://www2.mmm.ucar.edu/wrf/users/download/get_sources_wps_geog.html
from wrf-downscaling.
Thanks. The full dataset include the lai_modis data.
Now I've succeeded running geogrid.
For ungrib.exe, I'm still seeing the error:
Subroutine DATINT: Interpolating 3-d files to fill in any missing data...
Looking for data at time 2008-01-07_00
ERROR: Data not found: 2008-01-07_00:00:00.0000
These are the links to grb file:
lrwxrwxrwx 1 yefan G-800846 52 Sep 19 13:15 GRIBFILE.AAA -> /work/01701/yefan/WRF/GRIB/ERA-Int_pl_2008-01-05.grb
lrwxrwxrwx 1 yefan G-800846 52 Sep 19 13:15 GRIBFILE.AAB -> /work/01701/yefan/WRF/GRIB/ERA-Int_pl_2008-01-06.grb
lrwxrwxrwx 1 yefan G-800846 52 Sep 19 13:15 GRIBFILE.AAC -> /work/01701/yefan/WRF/GRIB/ERA-Int_pl_2008-01-07.grb
lrwxrwxrwx 1 yefan G-800846 52 Sep 19 13:15 GRIBFILE.AAD -> /work/01701/yefan/WRF/GRIB/ERA-Int_pl_2008-01-08.grb
lrwxrwxrwx 1 yefan G-800846 52 Sep 19 13:15 GRIBFILE.AAE -> /work/01701/yefan/WRF/GRIB/ERA-Int_pl_2008-01-09.grb
lrwxrwxrwx 1 yefan G-800846 53 Sep 19 13:15 GRIBFILE.AAF -> /work/01701/yefan/WRF/GRIB/ERA-Int_sfc_2008-01-05.grb
lrwxrwxrwx 1 yefan G-800846 53 Sep 19 13:15 GRIBFILE.AAG -> /work/01701/yefan/WRF/GRIB/ERA-Int_sfc_2008-01-06.grb
lrwxrwxrwx 1 yefan G-800846 53 Sep 19 13:15 GRIBFILE.AAH -> /work/01701/yefan/WRF/GRIB/ERA-Int_sfc_2008-01-07.grb
lrwxrwxrwx 1 yefan G-800846 53 Sep 19 13:15 GRIBFILE.AAI -> /work/01701/yefan/WRF/GRIB/ERA-Int_sfc_2008-01-08.grb
lrwxrwxrwx 1 yefan G-800846 53 Sep 19 13:15 GRIBFILE.AAJ -> /work/01701/yefan/WRF/GRIB/ERA-Int_sfc_2008-01-09.grb
lrwxrwxrwx 1 yefan G-800846 46 Sep 19 13:15 GRIBFILE.AAK -> /work/01701/yefan/WRF/GRIB/inv_landseamask.grb
These are the partial content of namelist.wps:
&share
wrf_core = 'ARW',
max_dom = 3,
start_date = '2008-01-07_00:00:00','2008-01-07_00:00:00','2008-01-07_00:00:00',
end_date = '2008-01-08_00:00:00','2008-01-08_00:00:00','2008-01-08_00:00:00',
interval_seconds = 21600
io_form_geogrid = 2,
/
&geogrid
parent_id = 1, 1, 2,
parent_grid_ratio = 1, 3, 3,
i_parent_start = 1, 37,71,
j_parent_start = 1, 35,65,
e_we = 140, 202,187,
e_sn = 130, 178,163,
geog_data_res = 'modis_30s+10m','modis_30s+2m','modis_30s+30s',
dx = 18000,
dy = 18000,
map_proj = 'lambert',
ref_lat = -18.2,
ref_lon = -49.,
truelat1 = -17.1,
truelat2 = -19.2,
stand_lon = -49.,
geog_data_path = '/work/01701/yefan/WRF/GEOG'
/
&ungrib
out_format = 'WPS',
prefix = 'LSM',
/
from wrf-downscaling.
Please follow my instructions. Do the invariant files first.
from wrf-downscaling.
Have you used these invariant files?
- inv_geopotential2.grb
- inv_landseamask.grb
Have you used the namelist in this repository that specifies the three domains? - namelist.wps
from wrf-downscaling.
this issue has been resolved. @brightfan is it correct that the issue was a missing Vtable file?
from wrf-downscaling.
Yes. I were linking to Vtable.ARW instead of Vtable.ERA-interim.pl.
from wrf-downscaling.
Ok. Make sure to build the invariant data, SST data and ERA-Interim data correctly.
from wrf-downscaling.
I link the data files link this /link_grib.csh /home/user/Documents/Build_WRF/DATA/datafiles/* and then i gave run for ./ungrib.exe. At that time i got the following error :
*** Starting program ungrib.exe ***
Start_date = 2011-04-25_00:00:00 , End_date = 2011-04-26_00:00:00
output format is WPS
Path to intermediate files is ./
ERROR: Grib2 file or date problem, stopping in edition_num.)
Actually i am using WRF3.6 version , I downloaded 26th April 2011 data and when extracted i got fnl_20110425_00_00.grib2.nc to fnl_20110426_00_00.grib2.nc files.
But i can run run ungrib.exe when using data file ending with .grib1 only(eg: fnl_20090511_18_00.grib1) . Is it necessary to convert fnl_20110425_00_00.grib2.nc file to fnl_20110425_00_00.grib1 file ??
Please help me, Thanks
from wrf-downscaling.
@Jipson-Johnson can you provide a reproducible example? Are you using code from this repository? What computer are you trying to run it on?
from wrf-downscaling.
I am using Ubuntu 14.04. Reproducible example means?
from wrf-downscaling.
See 'how to file a bug report
http://www.softwaretestinghelp.com/how-to-write-good-bug-report/
Also, thIs is not a WRF repository, although we have a copy of the source
code. Have you tried the WRF users guide?
http://www.wrf-model.org/users/users.php they have links to support lists.
On Wed, Mar 18, 2015 at 2:43 AM Jipson-Johnson [email protected]
wrote:
I am using Ubuntu 14.04. Reproducible example means?
—
Reply to this email directly or view it on GitHub
#1 (comment)
.
from wrf-downscaling.
@dlebauer Can you please give a solution for this error ?
from wrf-downscaling.
@jipsonjohnson777 no, sorry, I don't have a solution
from wrf-downscaling.
Related Issues (10)
- error with wrf domain wizard:This error typically comes from a mismatch between dates found in the namelst.wps and the date of GRIBFILE.AAA
- Write script to convert wrf output to CF-convention HOT 5
- Check in code used to run wrf on stampede to 'stampede' branch HOT 1
- Identify WRF output variables that we need
- Set diffusion on
- Review settings with Brian
- Create map of met domains, area cultivated (now, future), and ethanol plants
- Set WRF directory to `-R a+r` HOT 1
- Run WRF forward for two years
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from wrf-downscaling.