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

need help fetching data for North America and set up namelist configuration for WPS

prick

New member
I used the examples from - hpc-workshop-wrf/scripts at master · aws-samples/hpc-workshop-wrf. It works well but it's only for a subregion in Europe. I want to fetch data for North America. I have 3 questions below. Or if someone can point me to a working example of fetching North America data and do the wps pre-processing. Thank you!

1. Here is what I changed to the above sample script: leftlon=-130, rightlon=-60, toplat=55, bottomlat=20. I got the following file. Is this a right way to change?
https://nomads.ncep.noaa.gov/cgi-bin/filter_gfs_0p25.pl?file=gfs.t00z.pgrb2.0p25.f012&lev_0-0.1_m_below_ground=on&lev_0.1-0.4_m_below_ground=on&lev_0.4-1_m_below_ground=on&lev_1000_mb=on&lev_100_m_above_ground=on&lev_100_mb=on&lev_10_m_above_ground=on&lev_10_mb=on&lev_1-2_m_below_ground=on&lev_150_mb=on&lev_200_mb=on&lev_20_mb=on&lev_250_mb=on&lev_2_m_above_ground=on&lev_300_mb=on&lev_30-0_mb_above_ground=on&lev_30_mb=on&lev_350_mb=on&lev_400_mb=on&lev_450_mb=on&lev_500_mb=on&lev_50_mb=on&lev_550_mb=on&lev_600_mb=on&lev_650_mb=on&lev_700_mb=on&lev_70_mb=on&lev_750_mb=on&lev_800_mb=on&lev_80_m_above_ground=on&lev_850_mb=on&lev_900_mb=on&lev_925_mb=on&lev_950_mb=on&lev_975_mb=on&lev_mean_sea_level=on&lev_surface=on&var_ACPCP=on&var_APCP=on&var_DLWRF=on&var_DSWRF=on&var_HGT=on&var_LAND=on&var_PRES=on&var_PRMSL=on&var_RH=on&var_SOILW=on&var_TMP=on&var_TSOIL=on&var_UGRD=on&var_ULWRF=on&var_USWRF=on&var_VGRD=on&var_WEASD=on&subregion=&leftlon=-25&rightlon=50&toplat=65&bottomlat=20&dir=/gfs.20240504/00/atmos

2. This is the original wps configuration in the example script for Europe. I'm not sure how to adjust for North America. Without any change, it passed geogrid, ungrib but failed at metgrid.

&share
wrf_core = 'ARW',
max_dom = 1,
start_date = '2024-05-04_00:00:00',
end_date = '2024-05-06_00:00:00',
interval_seconds = 10800,
io_form_geogrid = 2,
opt_output_from_geogrid_path = '/shared/wrf-sim-dir/preproc/',
debug_level = 0,
/

&geogrid
parent_id = 1,
parent_grid_ratio = 1,
i_parent_start = 1,
j_parent_start = 1,
e_we = 460,
e_sn = 270,
geog_data_res = '5m',
dx = 10000,
dy = 10000,
map_proj = 'lambert',
ref_lat = 40,
ref_lon = 14,
truelat1 = 40,
truelat2 = 40,
stand_lon = 14,
geog_data_path = '/shared/FORECAST/domains/geog/',
opt_geogrid_tbl_path = '/shared/wrf-sim-dir/preproc/'
/

&ungrib
out_format = 'WPS'
prefix = 'FILE'
/

&metgrid
fg_name = './FILE',
io_form_metgrid = 2,
opt_output_from_metgrid_path = '/shared/wrf-sim-dir/preproc/',
opt_metgrid_tbl_path = '/shared/wrf-sim-dir/preproc/',
/


&mod_levs
press_pa = 201300 , 200100 , 100000 ,
95000 , 90000 ,
85000 , 80000 ,
75000 , 70000 ,
65000 , 60000 ,
55000 , 50000 ,
45000 , 40000 ,
35000 , 30000 ,
25000 , 20000 ,
15000 , 10000 ,
5000 , 1000
/

&domain_wizard
grib_data_path = 'null',
grib_vtable = 'null',
dwiz_name =euro12
dwiz_desc =
dwiz_user_rect_x1 =915
dwiz_user_rect_y1 =156
dwiz_show_political =true
dwiz_center_over_gmt =true
dwiz_latlon_space_in_deg =10
dwiz_latlon_linecolor =-8355712
dwiz_map_scale_pct =25
dwiz_map_vert_scrollbar_pos =0
dwiz_map_horiz_scrollbar_pos =743
dwiz_gridpt_dist_km =12.0
dwiz_mpi_command =
dwiz_tcvitals =null
/

3. Any changes I need to specify in the wrf configuration namelist?
 
Hi,
It sounds like you may need to read up on some of the basics of setting up namelists first. Here are some resources that may help you out.

Best Practices for namelist.wps - You can click on each parameter and read a description about it
WRF Users Guide
WRF Tutorial Presentations - you can look at the .pdf versions, or watch the videos on YouTube. Specifically look at the 'WPS: Fundamental Capabilities' and 'Running the WPS.'
You can also go through the WRF Online Tutorial, which will walk you through setting up both namelist.wps and namelist.input.

Regarding obtaining the input data, I'm not familiar with that method. You may need to discuss it with the group that provides it.
 
Top