mozbc error when checking dust data in mozart data with MOZART + MOSAIC 4 bins

400 views
Skip to first unread message

ying...@sjsu.edu

unread,
Feb 4, 2018, 5:20:29 PM2/4/18
to wrf-chem
Hello, I use WRF-Chem with MOZART+MOSAIC 4BINS,  Chem_opt = 201. mozbc is compiled well. 
But when I run it with  CBMZ-MOSAIC_4bins.inp, error shows when checking wrf variable num_a01: chk_moz_vars: could not find .93e17*[ (attached: mozbc.out), I notice this is a multiplier problem and tried to fix this by replacing 0.5*3.93e17*[DUST1] by 1.965e17*[DUST1]. 

And did the similar modification for num_a02, However, the error msg changes to :chk_moz_vars: could not find _VMR_inst.(attched: mozbc_js.out) 
"_VMR_inst" is the suffix of moz_var, I check the Mozart data I downloaded and find the variables DUST[1-4] don't have _VMR_inst as suffix (attached:head_h0001.out).

Anyone has idea about fixing this problem? Thank you very much! 

Ying 
CBMZ-MOSAIC_4bins.inp
mozbc.out
CBMZ-MOSAIC_4bins_js.inp
mozbc_js.out

Gabriele Pfister

unread,
Feb 4, 2018, 6:55:44 PM2/4/18
to Ying Song, wrf-chem
Hi Ying Song,

​the problem is that the lines are too long for the length the string is defined in the Fortran Code. You could change the mozbc code or simply shorten the lines. I attach the assignment for the num species below, which should work when included in your mozbc.inp file. Note that this is following the suggested assignment from the MOZART-MOZAIC User Guide (https://www2.acom.ucar.edu/sites/default/files/wrf-chem/MOZART_MOSAIC_V3.6.readme_dec2016.pdf)

Gabriele

    'num_a01->
​ ​
1.73e17*OC1+1.73e17*OC2+1.73e17*SOA+5.64e17*CB1+5.64e17*CB2+7.67e16*SO4+6.39e16*NH4NO3+1.44e16*NH4+3.22e17*SA1+4.83e17*SA1+1.96e17*[DUST1];1.0',

          'num_a02->
​ ​
1.71e16*OC1+1.71e16*OC2+1.71e16*SOA+9.91e15*CB1+9.91e15*CB2+6.06e16*SO4+5.05e16*NH4NO3+1.14e16*NH4+2.90e16*SA1+4.36e16*SA1+0.7e16*[DUST1]+0.28e16*[DUST2];1.0',

          'num_a03->
​ ​
1.13e14*OC1+1.13e14*OC2+1.13e14*SOA+1.8e12*CB1+1.8e12*CB2+2.44e15*SO4+2.0e15*NH4NO3+4.69e14*NH4+4.12e14*SA1+1.64e15*SA2+7.26e13*[DUST2]+9.55e13*[DUST3];1.0',

          'num_a04->
​ ​
4.09e10*OC1+4.09e10*OC2+4.09e10*SOA+3.42e07*CB1+3.42e07*CB2+3.25e12*SO4+2.71e12*NH4NO3+6.12e11*NH4+7.60e13*SA3+1.49e12*[DUST4];1.0',

--
================================
Gabriele Pfister
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
CBMZ-MOSAIC_4bins.inp
mozbc.out
CBMZ-MOSAIC_4bins_js.inp
mozbc_js.out

Ying Song

unread,
Feb 5, 2018, 1:57:11 AM2/5/18
to Gabriele Pfister, wrf-chem
Thanks, Gabi!

mozbc works fine now by following your suggestion.

Ying 
Reply all
Reply to author
Forward
0 new messages