Closed arianatribby closed 1 year ago
HI @arianatribby. This looks like an out-of-bounds error in the lightning extension:
At line 735 of file /home/ubuntu/HEMCO/rundirs/hemco_4x5_geosfp/CodeDir/src/Exte
nsions/hcox_lightnox_mod.F90
Fortran runtime error: Index '-18583' of dimension 1 of array 'inst%profile' below lower bound of 1
This is occurring here:
! Compute the height [km] at the top of each vertical level.
! Look up the cumulative fraction of NOx for each vertical level
DO L = 1, LTOP
ZHEIGHT = ZHEIGHT + HcoState%Grid%BXHEIGHT_M%Val(I,J,L)
FRAC(L) = Inst%PROFILE( NINT( ( ZHEIGHT/H0 )*3200. ), MTYPE ) *0.01
ENDDO
which is probably happening because NINT( ( ZHEIGHT/H0 )*3200. )
is some weird value. You could try printing that value out to see what it is. Maybe we need to make sure it doesn't go below 1.
I tried building the HEMCO standalone with the debugging flags:
cd build
cmake ../CodeDir -DCMAKE_BUILD_TYPE=Debug
make -j
make -j install
cd ..
and I was able to run without it crashing. If you can try that too that might reveal some issue.
Also, could you attach the HEMCO_Config.rc
file (the one from your GEOS-Chem run directory). Thanks.
This issue has been automatically marked as stale because it has not had recent activity. If there are no updates within 7 days it will be closed. You can add the "never stale" tag to prevent the Stale bot from closing this issue.
Closing due to inactivity
Report a HEMCO bug or technical issue
Describe the bug:
There appears to be a problem when reading the Volcano emissions. I do not experience this problem when using Merra2 met.
Expected behavior:
I've checked that the Volcano emissions are present and the file is not empty.
Actual behavior:
Here is the print to the terminal near the error:
Steps to reproduce:g:
Run
Your HEMCO version and runtime environment:
HEMCO version: 3.5.0-rc.1
Compiler version: AWS AMI
netCDF version: AWS AMI
netCDF-Fortran version (if applicable): AWS AMI
Did you run on a computational cluster, on the AWS cloud: yes
If you ran on the AWS cloud, please specify the Amazon Machine Image (AMI) ID: ami-0491da4eeba0fe986 HEMCO_sa_Spec.rc_sa_072122.txt HEMCO.log_sa_072122.txt HEMCO_Config.rc.gmao_metfields_sa_072122.txt HEMCO_Diagn.rc_sa_072122.txt HEMCO_sa_Config.rc_sa_072122.txt HEMCO_sa_Grid.4x5.rc_sa_072122.txt
Are you using GEOS-Chem "out of the box" (i.e. unmodified): yes
If you have modified GEOS-Chem, please list what was changed: