Issue with mozbc while running with waccm file

94 views
Skip to first unread message

Muhammad Burhan Khalid

unread,
Feb 8, 2025, 1:41:12 AMFeb 8
to wrf-chem-mozbc
Hi
I am running 
./mozbc <  mozbc  .inp > mozbc.log
by using waccm.nc file but it giving me an error like below

 finished init_wrfchem_lib
 main_bc_wrfchem: read p_top
 main_bc_wrfchem: read eta values on half (mass) levels
 main_bc_wrfchem: read wrf longitues and latitudes
 init_mozart_lib: opened
 waccm.nc
 checking wrf variable O3
 len o3 =            2
 chk_moz_vars: could not find o3_VMR_inst                      in
 waccm.nc
 NetCDF: Variable not found                                                    
 
 fail to process netCDF file...

Héctor Jorquera González

unread,
Feb 8, 2025, 10:46:09 AMFeb 8
to wrf-chem-mozbc, Muhammad Burhan Khalid
Hi Muhammad

Did you have this line in your mazbc.inp file:

moz_var_suffix = ''   (empty space between  '  symbols)

You need to ensure that no suffix is included (empty entry) becuase by default is looking for o3_VMR instead of looking only for 03 in the waccm file

Regards

Hector

Muhammad Burhan Khalid

unread,
Feb 9, 2025, 6:30:39 AMFeb 9
to wrf-chem-mozbc, Héctor Jorquera González, Muhammad Burhan Khalid
I added  moz_var_suffix (with space) and now i getting another error.. I am attaching my mozbc file
mozbc.log

Muhammad Burhan Khalid

unread,
Feb 10, 2025, 7:02:32 AMFeb 10
to wrf-chem-mozbc, Muhammad Burhan Khalid, Héctor Jorquera González
Thanks its working now..
I have another issue regarding Co2 parameter in WACCM and Camchem file there is no parameter of co2 but in CT2022 (CarbonTracker CT2022 - NOAA Global Monitoring Laboratory) file has co2 parameter so how i can use CT2022 in mozbc because while running mozbc it giving an error which are attached in this thread
mozbc.log

Héctor Jorquera González

unread,
Mar 5, 2025, 10:44:42 AMMar 5
to wrf-chem-mozbc, Muhammad Burhan Khalid, Héctor Jorquera González
Hi Muhammad

Sorry for the delay (summer vacations in southern hemisphere)

Did you check the co2 variable name using:   > ncdump -h   /home/Burhan/Build_WRF/mozbc/CT2022.molefrac_glb3x2_2020-03-01_total.nc ?

Also, is the domain of the above CT file larger than your wrfchem largest domain?

Regards

Muhammad Burhan Khalid

unread,
Mar 6, 2025, 9:35:21 AMMar 6
to wrf-chem-mozbc, Héctor Jorquera González, Muhammad Burhan Khalid
thanks my issue has been ressolved and i successfully created wrfchemi file and also wrfinput and boundary files by using mozbc tool

Now i have another issue which are as follows i want to run wrfchem with chem_opt=17 but while running wrf.exe it giving error of VPRM table i get a python created tool but some thing are missing on that code which is not running.. Can you please guide me accordingly

Mary Barth

unread,
Mar 6, 2025, 11:39:03 AMMar 6
to Muhammad Burhan Khalid, wrf-chem-mozbc, Héctor Jorquera González
Hi Muhammad,
This question would be better to post to the WRF user's forum.
Remember this email group is focused on the MOZART chemistry suites and the preprocessors that NCAR provides in WRF-Chem.
Regards,
Mary

^--^--^--^--^--^--^--^--^--^--^--^--^--^--^-^--^--^--^-^--^
Mary Barth 
Senior Scientist   
phone: 303-497-8186    email: bar...@ucar.edu

NSF - National Center for Atmospheric Research
P.O. Box 3000
Boulder, CO 80307

^--^--^--^--^--^--^--^--^--^--^--^--^--^--^-^--^--^--^-^--^


Reply all
Reply to author
Forward
0 new messages