ReSe User Support Forum
Error trying to open non-existent .atmi file - Printable Version

+- ReSe User Support Forum (https://forum.rese-apps.com)
+-- Forum: Support Discussions (https://forum.rese-apps.com/forumdisplay.php?fid=9)
+--- Forum: ATCOR-4 (https://forum.rese-apps.com/forumdisplay.php?fid=12)
+--- Thread: Error trying to open non-existent .atmi file (/showthread.php?tid=149)



Error trying to open non-existent .atmi file - FCarotenuto - 23-Jun-2022

Dear all,

I'm again running ATCOR 4 in batch mode for multiple flight lines (a total of 25 VNIR and 25 SWIR). After running correctly 22 of them, ATCOR 4 suddenly stops with an error about reading an atm file. 

The log file (in attachment) reports an error in accessing a file:

Code:
2022-06-23T15:18:41        atcor4r_batch: *** Error: ATCOR Batch Execution Failure - Exiting
2022-06-23T15:18:41        atcor4r_batch: OPENW: Error opening file. Unit: 101
         File: C:\Program Files\ReSe_Software_Win64\atcor_4\atm_lib\HySpex_SWIR_RT_WFOV\h02503_wv04_dese.atmi
2022-06-23T15:18:41        atcor4r_batch: Accesso negato.

Point is that there's no file ending in .atmi in that folder, all of the files as always are ending in .atm. Furthermore, the atmospheric file specified in the .inn file specified the usage of a different water vapor content:

Code:
h02000_wv10_dese.atm

And that file does exist in the atm_lib folder ATCOR 4 is working on.

ATCOR 4 is launched in batch with the following command:

Code:
idlrt.exe -rt="C:\Program Files\ReSe_Software_Win64\atcor_4\bin\atcor4.sav" -args F:\RT\PRATO_GEO\RUN_23_PRATO_SWIR\20200622-cnr_24_SWIR_384_SN3154_FOVx2_raw_rad_f32_geo.bsq R D:\PRATO_ATMCORR\RUN_23_PRATO_SWIR\RUN_23_PRATO_SWIR_h02000_wv10_dese

Following to this message I attach:

1. the log file showing the aforementioned error (with txt extension, otherwise the forum would not let me upload it)
2. the inn file tied to the ATCOR 4 run (again with a txt extension for the same reason)
3. the listing of the files in the atm_lib directory

Thank you for any help you could provide!


RE: Error trying to open non-existent .atmi file - reseadmin - 26-Jun-2022

(23-Jun-2022, 03:38 PM)FCarotenuto Wrote: Hallo,

This kind of error typically appears if there are some write access restrictions to the atm_lib directory of the ATCOR-4 installation. The *atmi file is a temporary, interpolated atmospheric correction LUT, which is written to atm_lib. There are some measures to take to avoid this problem:
- make the atm_lib directory writeable for anybody
- on multi-user systems, make sure that all processes are completely done; there may be lurking atmi files if an execution was stopped.
- delete atmi files manually after execution if there was a failure
- check in the ATCOR Preferences 'Delete *atmi files' (last line of preferences panel)
- On Windows: install ATCOR-4 in a place different from "Program Files" as that directory has more read/write restrictions than normal directories.

Hope that helps,

Daniel



====
I'm again running ATCOR 4 in batch mode for multiple flight lines (a total of 25 VNIR and 25 SWIR). After running correctly 22 of them, ATCOR 4 suddenly stops with an error about reading an atm file. 

The log file (in attachment) reports an error in accessing a file:

Code:
2022-06-23T15:18:41        atcor4r_batch: *** Error: ATCOR Batch Execution Failure - Exiting
2022-06-23T15:18:41        atcor4r_batch: OPENW: Error opening file. Unit: 101
         File: C:\Program Files\ReSe_Software_Win64\atcor_4\atm_lib\HySpex_SWIR_RT_WFOV\h02503_wv04_dese.atmi
2022-06-23T15:18:41        atcor4r_batch: Accesso negato.