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

Cannot run ./obsgrid.exe to create observational surface nudging data

dbpartha

New member
Hi,

I am trying to create observational surface nudging data (wrfsffda) for my WRF3.8 run but when I run the obsgrid.exe, following error pops up. I am attaching my namelist.oa file and the steps I'm following to get to this ./obsgrid.exe point. Kindly suggest how to solve this issue.

ERROR MESSAGE:
STOP ERROR_EXIT in error_handler
################################
WRF OBSGRID
Version 3.7.0
July 2014
################################
Changing default netCDF format from 1 to nf_format_64bit
------------------------------------------------------------
ERROR EXIT

Error in NAMELIST OPEN

Steps to Process observational surface nudging data (wrfsffda) and prepare inputs for real.exe via OBSGRID

# Download the necessary observations (in little_r) format, both upper air and surface and store them: /projects/b1045/wrf-cmaq/input/obsgrid/${EXP_NAME}

Upper air: http://rda.ucar.edu/datasets/ds351.0/

Surface: http://rda.ucar.edu/datasets/ds461.0/

# Combine the surface and upper air data for each time step to CATOBS files

>> cd /projects/../wrf-cmaq/input/obsgrid/${EXP_NAME}

>> cp cat_surface_ua_obs.sh /projects/../wrf-cmaq/OBSGRID

>> ./cat_surface_ua_obs.sh


# Now combine them into a single file called rda_obs and move it into the OBSGRID directory

>> cat CATOBS* > rda_obs

>> mv rda_obs /projects/../wrf-cmaq/OBSGRID/rda_obs.${EXP_NAME}


# Edit the namelist namelist.oa to make sure the times and filenames are correct

>> cd /projects/../wrf-cmaq/OBSGRID

>> edit namelist.oa


# Copy namelist.oa to /projects/.../wrf-cmaq/OBSGRID/util/ and run /projects/.../wrf-cmaq/OBSGRID/util/get_rda_data.exe.
# This will create a bunch of OBS:* files. If your met data is 6-hourly, this will all resort the files into 3-hourly files.

>> cp namelist.oa /projects/../wrf-cmaq/OBSGRID/util

>> ln -s ../namelist.oa.${EXP_NAME} namelist.oa

>> ln -s ../rda_obs.${EXP_NAME} rda_obs

>> ./get_rda_data.exe


# Link these files to the top obsgrid directory

>> cd /projects/../wrf-cmaq/OBSGRID

>> ln -s util/OBS:* .


# Link the met_em* files you created with metgrid

>> ln -sf /projects/../wrf-cmaq/tmp/metgrid_output/* .

# Run obsgrid (this will take some time, ndays * 8 files/day * 30 seconds file). This needs to be done for each domain separately (grid_id in namelist.oa)

>> ./obsgrid.exe
 

Attachments

  • namelist.oa.txt
    2.9 KB · Views: 3
  • cat_surface_ua_obs.sh.txt
    257 bytes · Views: 2
Apologies for the long delay in response while our team tended to time-sensitive obligations. Thank you for your patience. Can you also attach the full error log? Thanks!
 
Hi, sorry for responding late, I was able to run obsgrid.exe (linked the namelist.oa to the top OBSGRID directory and it worked). But I am facing more severe issue with missing timestamps on wrfsfdda files mainly for domain01 and domain02 and sometimes domain03 (example attached) no matter what I do (e.g., re-running WPS executables, re-downloading upper and surface obs data, re-running get_rda_data.exe, changing the nameless.oa or compiling OBSGRID from scratch). Due to such missing timestamps, my WRF4.4.2 run crashes on the first missing timestamp (i.e., 2023-06-21 03:00:00". I am attaching my trial and error file, namelist.oa, namelist.wps, namelist.input, obsgrid.out files here. Kindly help. Let me know if any other file is needed. Thank you.
 

Attachments

  • Screen Shot 2025-03-02 at 4.54.30 PM.png
    Screen Shot 2025-03-02 at 4.54.30 PM.png
    193.4 KB · Views: 0
  • OBSGRID_Trial&Error_DBP.pdf
    253.7 KB · Views: 1
  • namelist.input.DBP_NEW_RUN_3dom_PlEIMXU.txt
    7.5 KB · Views: 0
  • namelist.oa.org.txt
    2.9 KB · Views: 0
  • namelist.wps.Chicago_LADCO_DBP.txt
    2 KB · Views: 0
I'm glad your initial problem was resolved! Since the new issue is different, please start a new thread for this problem. Keeping each post focused on one issue makes the forum easier to read and search in the future. Thanks!
 
Top