Issue with running run.txt2ioapi.v32.csh

Hello All,

I’m running the run.txt2ioapi.v32.csh script in MEGAN v3.2 with the following run control:

setenv RUN_EFS T
setenv RUN_CANTYP T
setenv RUN_LDF T

It successfully changes the EFS. csv and LDF.csv files to the EFMAP.ncf and LDF.ncf but it can not create the CT3.ncf. The TXT2IOAPI runs without any error in the log file and it shows “Normal Completion of program TXT2IOAPI”.

I attached the run.txt2ioapi.v32.csh and log file.

I will appreciate if anyone knows why the CT3.ncf does not create.

Thanks
log.run.txt2ioapi.AIRPACT_04km.txt (7.8 KB)
run.txt2ioapi.v32.csh (2.7 KB)

@willison.jeff

Looking at your log file, it seems the canopy type output file was successfully created, but instead of the file name and location you expected ($MGNINP/MAP/CT3_${GDNAM3D}.ncf), it was just written as file CANTYPFILE in the directory where you executed the script.

The reason appears to be that the code expects logical file name CANTYPFILE to be used for setting this output file, but in your script you used CANTYP instead (setenv CANTYP $MGNINP/MAP/CT3_${GDNAM3D}.ncf)

1 Like

You are right Christian.

Thanks