chk_moz_vars: could not find O3_VMR_inst

601 views
Skip to first unread message

Shreta Ghimire

unread,
Nov 15, 2019, 12:47:41 PM11/15/19
to wrf-chem-mozbc
Hello all, 

I am very new to WRF-CHEM and just started using Mozbc couple of days back. Any help and suggestions will be highly appreciated. 

I ran real.exe with chem_opt 202 and phot_opt = 4. Now i want to update IC and BC for WRF runs using mozbc with CAM-CHEM data. But i am getting the error "chk_moz_vars: could not find O3_VMR_inst in hb000.nc". I have both hb000.nc anc hb001.nc in the same folder. The file hb000.nc has the data for a day prior to my wrfinput_d01 and wrfbdy_d01, whereas hb001.nc has data for the same time period as wrf input and boundary files. 

I saw few posts on the group with the same error, but could not find any solution on how to fix it. 

Thank you in advance. 

This is my namelist:

&control

 

do_bc     = .true.

do_ic     = .true.

domain    = 1

dir_wrf   = '../WRFV3/test/em_real/'

dir_moz = '/glade/scratch/ghimire/O3project/WRFV3-chem/MOZBC/'

fn_moz  = 'hb001.nc'

 

spc_map = 'o3 -> O3', 'o -> O', 'o1d_cb4 -> O1D', 'n2o -> N2O', 'no -> NO',

          'no2 -> NO2', 'no3 -> NO3', 'nh3 -> NH3', 'hno3 -> HNO3', 'hno4 -> HO2NO2',

          'n2o5 -> N2O5', 'h2 -> H2', 'ho -> OH', 'ho2 -> HO2', 'h2o2 -> H2O2',

          'ch4 -> CH4', 'co -> CO', 'ch3o2 -> CH3O2', 'ch3ooh -> CH3OOH',

          'hcho -> CH2O', 'ch3oh -> CH3OH', 'c2h4 -> C2H4',

          'ald -> CH3CHO', 'ch3cooh -> CH3COOH', 'acet -> CH3COCH3', 'mgly -> CH3COCHO',

          'aco3 -> CH3CO3', 'paa -> CH3COOOH', 'gly -> GLYOXAL', 'c3h6ooh -> POOH',

          'pan -> PAN', 'mpan -> MPAN', 'mco3 -> MCO3', 'macr -> MACR', 'mvko2 -> MACRO2',

          'mvkooh -> MACROOH', 'mvk -> MVK', 'c2h6 -> C2H6', 'c3h6 -> C3H6', 'c3h8 -> C3H8',

          'c2h5oh -> C2H5OH', 'etooh -> C2H5OOH', 'pro2 -> C3H7O2', 'prooh -> C3H7OOH',

          'acetp -> ROOH', 'onit -> ONIT', 'onitr -> ONITR', 'isopr -> ISOP',

          'isooh -> ISOPOOH', 'isopn -> ISOPNO3', 'acetol -> HYAC', 'glyald -> GLYALD',

          'hydrald -> HYDRALD', 'mek -> MEK', 'eto2 -> C2H5O2',

          'bigene -> BIGENE', 'open -> BIGALD', 'bigalk -> BIGALK', 'alko2 -> ALKO2', 'alkooh -> ALKOOH',

          'mekooh -> MEKOOH', 'tol -> TOLUENE', 'to2 -> TOLO2', 'tolooh -> TOLOOH',

          'terpooh -> TERPOOH', 'cres -> CRESOL', 'dms -> DMS', 'so2 -> SO2',

          'xooh -> XOOH',

/



Regards, 
Shreta 

Gabriele Pfister

unread,
Nov 15, 2019, 1:33:17 PM11/15/19
to Shreta Ghimire, wrf-chem-mozbc
Shreta

you are using the namelist for the initial and boundary conditions from the global MOZART model. For guidance on using output from CAM-Chem or WACCM you have to look at the document that is provided on our WRF-Chem Tools website: https://www2.acom.ucar.edu/wrf-chem/wrf-chem-tools-community

Gabriele 
--
================================
Gabriele Pfister, Deputy Director
Atmospheric Chemistry Observations & Modeling
National Center for Atmospheric Research
Email: pfi...@ucar.edu
Phone: +1 303 497 2915
Web: https://staff.ucar.edu/users/pfister

Stephanie Martínez Morales

unread,
May 15, 2023, 3:52:23 PM5/15/23
to wrf-chem-mozbc, Gabriele Pfister, wrf-chem-mozbc, Shreta Ghimire
Hello everyone.
Hope you are ok.

I have the same error, but I can't find a solution. wrf-chem-tools-comunuty web page leads me to WRF-Chem discussion forum that leads me here. I can't find the input namelist to use with CAM-Chem files.

I appreciate you can help me.

Kind regards, Stephanie.

Shreta Ghimire

unread,
May 30, 2023, 2:39:54 PM5/30/23
to Stephanie Martínez Morales, wrf-chem-mozbc, Gabriele Pfister
Hi Stephanie,

Sorry for the late response. I am not sure if you are able to fix this issue yet but i will let you know what worked for me. 

If you look at the code mo_mozart_lib.f90 under section "public variables" line 34, character(len=9) :: moz_var_suffix = '_VMR_inst' it says _VMR_inst. I changed it to character(len=9) :: moz_var_suffix = '', which worked for me. I have attached my code here.

Let me know if this works or not for you, if you haven't solved the issue yet. 

Regards,
Shreta Ghimire

mo_mozart_lib.f90

Paresh IIT Delhi

unread,
Feb 20, 2025, 5:17:05 PMFeb 20
to wrf-chem-mozbc, Shreta Ghimire, wrf-chem-mozbc, Gabriele Pfister, Stephanie Martínez Morales
Hey Shreta,

I followed the steps you suggested because I got the same error. After editing the "mo_mozart_lib.f90" also, the error persists. I am attaching the log file along with mozbc.inp and mo_mozart_lib.f90. Can you please have a look at it? 

Thanks and Regards,
Paresh Parmar
mozbc.log
mo_mozart_lib.f90
mozbc.inp

Mary Barth

unread,
Feb 22, 2025, 2:55:03 PMFeb 22
to Paresh IIT Delhi, wrf-chem-mozbc, Shreta Ghimire, Gabriele Pfister, Stephanie Martínez Morales
Hi there,
Instead of editing the fortran code, try adding the following line to the mozbc.inp file:
moz_var_suffix = ''  
(those are 2 single quotes)
I have this line just after moz_dir is defined.
- 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

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


Paresh

unread,
Feb 27, 2025, 4:04:52 AMFeb 27
to wrf-chem-mozbc, Mary Barth, wrf-chem-mozbc, Shreta Ghimire, Gabriele Pfister, Stephanie Martínez Morales, Paresh IIT Delhi
Hello Mary,

Editing mozbc.inp file worked.

Thank you
Reply all
Reply to author
Forward
0 new messages