Problem with prep_chem_sources.inp (Exercise 2)

Any issues with running WRF Chemistry

Problem with prep_chem_sources.inp (Exercise 2)

Postby gg365 » Sat Feb 17, 2018 8:28 pm

Hey all,

In reference to Exercise 2: https://ruc.noaa.gov/wrf/wrf-chem/wrf_t ... ise_2.html

I am having an issue with running ./prep_chem_sources_RADM_WRF_FIM_.exe

After the program runs for awhile it always gets stuck when it looks for the dms_1x1.25.nc file. The error I get shown below.

--- OLSON 2 lido corretamente ---
fuel data=/home/jason/Build_WRF/LIBRARIES/Global_emissions_v3/EMISSION_DATA/Carbon_density/bck/inter44tci_houghton.gra
no special/regional fuel data available - only global data will be used
opening /home/jason/Build_WRF/LIBRARIES/Global_emissions_V3/EMISSION_DATA/GOCART/dms_data/dms_1x1.25.nc - specie= DMS
No such file or directory
STOP netcdf error

The problem I am having is that in the prep_chem_sources.inp file, for the GOGART data the path is,

gocart_bg_data_dir='/home/jason/Build_WRF/LIBRARIES/Global_emissions_V3/EMISSION_DAT/GOCART',

I have also gone and verified that there is in fact a dms_1x1.25.nc file located where the program is looking, I have also verified that the file works by using ncview to see the grid of the world.

Does anyone have any advice? The program has no problems finding any other files identified in the prep_chem_sources.inp file. I have been stuck on this for about 10 hours..... Any and all advice is accepted!




The rest of the prep_chem_sources.inp file is shown below.

[i][i][i][i][b]!---------------- grid_type of the grid output
grid_type= 'mercator',
!'rams' = rams grid
! 'polar' = polar sterog. grid output
! 'gg' = gaussian grid output
! 'll' = lat/lon grid output
! 'lambert' = lambert grid output
! 'mercator' = mercator grid output

!---------------- if the output data is for use in CATT-BRAMS model, provide at least one analysis file
!---------------- of this model
rams_anal_prefix = '',

!---------------- date of emission

ihour=00, iday=14, imon=07, iyear=2010,


!---------------- select the sources datasets to be used
use_retro =1, ! 1 = yes, 0 = not
retro_data_dir='/home/jason/Build_WRF/LIBRARIES/Global_emissions_v3/EMISSION_DATA/RETRO/anthro',

use_edgar =2, ! 0 - not, 1 - Version 3, 2 - Version 4 for some species
edgar_data_dir='/home/jason/Build_WRF/LIBRARIES/Global_emissions_v3/EMISSION_DATA/EDGARV4',

use_gocart =1,
gocart_data_dir='/home/jason/Build_WRF/LIBRARIES/Global_emissions_v3/EMISSION_DATA/GOCART/emissions',

use_fwbawb =0,
fwbawb_data_dir ='NONE',

use_bioge =0, ! 1 - geia, 2 - megan
! ######
! # BIOGENIC = 1
!bioge_data_dir ='/home/jason/Build_WRF/LIBRARIES/Global_emissions_V3/EMISSION_DATA/biogenic_emissions',
! # MEGAN = 2
! ######
bioge_data_dir='/home/jason/Build_WRF/LIBRARIES/Global_emissions_V3/EMISSION_DATA/MEGAN/2000',
! ######

use_gfedv2 =0,
gfedv2_data_dir ='/home/jason/Build_WRF/LIBRARIES/Global_emissions_V3/EMISSION_DATA/GFEDv2-8days',

use_bbem =1,
use_bbem_plumerise =1,
!---------------- if the merging of gfedv2 with bbem is desired (=1, yes, 0 = no)
merge_GFEDv2_bbem =0,
!---------------- Fire product for BBBEM/BBBEM-plumerise emission models
bbem_wfabba_data_dir ='NONE'
bbem_modis_data_dir ='NONE',
bbem_inpe_data_dir ='NONE',
bbem_extra_data_dir ='NONE',

!---------------- veg type data set (dir + prefix)

veg_type_data_dir ='/home/jason/Build_WRF/LIBRARIES/Global_emissions_v3/SURFACE_DATA/GL_IGBP_MODIS_INPE/MODIS',

!---------------- vcf type data set (dir + prefix)
use_vcf = 0,
vcf_type_data_dir ='NONE',


!---------------- Carbon density data ----------------
!---------------- New Olson''s data set (dir + prefix)
olson_data_dir= '/home/jason/Build_WRF/LIBRARIES/Global_emissions_v3/EMISSION_DATA/OLSON2/OLSON',

!---------------- Old Olson''s data set
carbon_density_data_dir='/home/jason/Build_WRF/LIBRARIES/Global_emissions_v3/SURFACE_DATA/GL_OGE_INPE',

!---------------- carbon density data set for Amazon (dir + prefix)


fuel_data_dir ='/home/jason/Build_WRF/LIBRARIES/Global_emissions_v3/EMISSION_DATA/Carbon_density/bck/inter44tci_houghton.gra',


!---------------- gocart background
use_gocart_bg =1,
gocart_bg_data_dir='/home/jason/Build_WRF/LIBRARIES/Global_emissions_V3/EMISSION_DATA/GOCART',

!---------------- volcanoes emissions
use_volcanoes =0,
volcano_index =0, !VESUVIUS

use_these_values='NONE',
! define a text file for using external values for INJ_HEIGHT, DURATION,
! MASS ASH (units are meters - seconds - kilograms) and the format for
! a file 'values.txt' is like this:
! 11000. 10800. 1.5e10
! use_these_values='values.txt',
begin_eruption='201007141200', !begin time UTC of eruption YYYYMMDDhhmm

!---------------- degassing volcanoes emissions
use_degass_volcanoes =0,
degass_volc_data_dir ='NONE',

!---------------- user specific emissions directory
!---------------- Update for South America megacities
!---------------- set 'NONE' if you do not want to use
! user_data_dir='/home/poluicao/EMISSION_DATA/SouthAmerica_Megacities',
user_data_dir='/home/jason/Build_WRF/LIBRARIES/PREP-CHEM-SRC-1.5/extra/UserData',


!--------------------------------------------------------------------------------------------------
pond=1, ! mad/mfa 0 -> molar mass weighted
! 1 -> Reactivity weighted

!---------------- for grid type 'll' or 'gg' only
grid_resolucao_lon=0.2,
grid_resolucao_lat=0.2,

nlat=320, ! if gg (only global grid)
lon_beg = -180., ! (-180.:+180.) long-begin of the output file
lat_beg = -90., ! ( -90.:+90. ) lat -begin of the output file
delta_lon = 360., ! total long extension of the domain (360 for global)
delta_lat = 180., ! total lat extension of the domain (180 for global)

!---------------- For regional grids (polar or lambert)

NGRIDS = 1, ! Number of grids to run

NNXP = 41,201,86,46, ! Number of x gridpoints
NNYP = 41,311,74,46, ! Number of y gridpoints
NXTNEST = 0,1,2,3, ! Grid number which is the next coarser grid
DELTAX = 100000.,
DELTAY = 100000., ! X and Y grid spacing

! Nest ratios between this grid and the next coarser grid.
NSTRATX = 1,5,3,4, ! x-direction
NSTRATY = 1,5,3,4, ! y-direction

NINEST = 1,10,0,0, ! Grid point on the next coarser
NJNEST = 1,10,0,0, ! nest where the lower southwest
! corner of this nest will start.
! If NINEST or NJNEST = 0, use CENTLAT/LON
POLELAT = 35., ! If polar, latitude/longitude of pole point
POLELON = 25., ! If lambert/mercator, lat/lon of grid origin (x=y=0.) (ref_lat
! /ref_lon from namelist.wps)

STDLAT1 = 30., ! If polar, unused
STDLAT2 = 40., ! If lambert, standard latitudes of projection
!(truelat2/truelat1 from namelist.wps, STDLAT1 < STDLAT2)
! If mercator STDLAT1 = 1st true latitude

CENTLAT = 35., -23., 27.5, 27.5, ! (ref_lat/ref_lon from namelist.wps)
CENTLON = 25., -46.,-80.5, -80.5,

!---------------- model output domain for each grid (only set up for rams)
lati = -90., -90., -90.,
latf = +90., +90., +90.,
loni = -180., -180., -180.,
lonf = 180., 180., 180.,

!---------------- project rams grid (polar sterogr) to lat/lon: 'YES' or 'NOT'
proj_to_ll='NO',

!---------------- output file prefix (may include directory other than the current)
chem_out_prefix = 'WRF-TUTOR',
chem_out_format = 'vfm',
!---------------- convert to WRF/CHEM (yes,not)
special_output_to_wrf = 'YES',

$END

[/b]
[/i][/i][/i][/i]
gg365
 
Posts: 2
Joined: Sat Feb 17, 2018 7:47 pm

Re: Problem with prep_chem_sources.inp (Exercise 2)

Postby firvain69 » Thu Feb 22, 2018 3:56 pm

wild guess
put the file in an dir that needs less stings to define
e.g /home/user/data/

maybe it trims the dir from namelist (pep_chem_sources.inp) to some strings

again wild guess as i said
firvain69
 
Posts: 6
Joined: Tue Sep 19, 2017 11:29 am


Return to Runtime Problems

Who is online

Users browsing this forum: No registered users and 6 guests