ARWpost is asking to increase MAX_NVARS

Topics related to the ARWpost post-processor
Post Reply
sinisters93
Posts: 43
Joined: Thu Apr 25, 2019 9:25 pm

ARWpost is asking to increase MAX_NVARS

Post by sinisters93 » Sun Nov 29, 2020 10:28 am

[sahir@un01 ARWpost]$ ./ARWpost.exe

!!!!!!!!!!!!!!!!
ARWpost v3.1
!!!!!!!!!!!!!!!!

FOUND the following input files:
/scratch/sahir/largefile/WRF-Chem/WRFV3_ANTHRO/WRFV3_ANTH/run/wrfout_d01_2018-08-01_00:00:00

START PROCESSING DATA

Processing time --- 2018-08-01_00:00:00
Found the right date - continue
ERROR: Number of processed variables exceeds MAX_NVARS, please check and adjust MAX_NVARS in src/output_module.F90

------------------------------------------------------------------
I have increased that to 2000, still the error remains
------------------------------------------------------------------


MODULE output_module

USE input_module
USE module_model_basics
USE module_arrays
USE module_interp

integer, parameter :: MAX_NVARS = 2000 !!! maximum number of variables, increase if needed
integer :: time, rec, ivars !!! process time ; rec in .dat file ; variables in .dat file
integer :: cunit, dunit !!! .ctl and .dat output files
character (len=128) :: ctlfile, datfile
character (len=200), dimension(300) :: ctl_var_string !!! List of fields for .ctl file
character (len=2000) :: could_not_find !!! Keep list of what we wrote out
character (len=19) :: tdef_date !!! Output start date
character (len=40) :: tdef !!! tdef string in .ctl file
character (len=10), dimension(300) :: varnames
integer :: numvars

kwerner
Posts: 2287
Joined: Wed Feb 14, 2018 9:21 pm

Re: ARWpost is asking to increase MAX_NVARS

Post by kwerner » Mon Nov 30, 2020 10:45 pm

Hi,
After you increased MAX_NVARS, did you recompile ARWpost? You'll need to recompile to include the modification.
NCAR/MMM

Post Reply

Return to “ARWpost”