Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Error trying to open non-existent .atmi file
23-Jun-2022, 03:38 PM,
#1
Error trying to open non-existent .atmi file
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!


Attached Files
.txt   print_dir.txt (Size: 8.56 KB / Downloads: 0)
.txt   RUN_23_PRATO_SWIR_h02000_wv10_dese.log.txt (Size: 3.14 KB / Downloads: 0)
.txt   20200622-cnr_24_SWIR_384_SN3154_FOVx2_raw_rad_f32_geo.inn.txt (Size: 2.05 KB / Downloads: 0)
Reply
26-Jun-2022, 03:10 PM,
#2
RE: Error trying to open non-existent .atmi file
(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.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)