Can not find the file specified: h99000_wv02_mari.atm

Good morning,
I ask if anyone has had the following problem and eventually how to solve it.
Thanks in advance for listening and response

Sentinel-2 Level 2A Prototype Processor (Sen2Cor), 2.3.0, created: 2016.11.18 started …
no resolution specified, will process all resolutions.
Progress[%]: 0.30 : PID-10500, L2A_ProcessTile: processing with resolution 60 m, elapsed time[s]: 4.784
Progress[%]: 0.31 : PID-10500, L2A_ProcessTile: start of pre processing, elapsed time[s]: 0.015
Progress[%]: 0.31 : PID-10500, L2A_Tables: start import, elapsed time[s]: 0.125
Progress[%]: 0.40 : PID-10500, L2A_Tables: band B01 imported, elapsed time[s]: 1.313
Progress[%]: 2.41 : PID-10500, L2A_Tables: band B02 imported, elapsed time[s]: 31.682
Progress[%]: 4.42 : PID-10500, L2A_Tables: band B03 imported, elapsed time[s]: 31.609
Progress[%]: 6.51 : PID-10500, L2A_Tables: band B04 imported, elapsed time[s]: 32.834
Progress[%]: 7.09 : PID-10500, L2A_Tables: band B05 imported, elapsed time[s]: 9.083
Progress[%]: 7.65 : PID-10500, L2A_Tables: band B06 imported, elapsed time[s]: 8.916
Progress[%]: 8.47 : PID-10500, L2A_Tables: band B07 imported, elapsed time[s]: 12.775
Progress[%]: 9.28 : PID-10500, L2A_Tables: band B8A imported, elapsed time[s]: 12.789
Progress[%]: 9.38 : PID-10500, L2A_Tables: band B09 imported, elapsed time[s]: 1.651
Progress[%]: 9.44 : PID-10500, L2A_Tables: band B10 imported, elapsed time[s]: 0.954
Progress[%]: 10.21 : PID-10500, L2A_Tables: band B11 imported, elapsed time[s]: 11.961
Progress[%]: 11.02 : PID-10500, L2A_Tables: band B12 imported, elapsed time[s]: 12.857
Progress[%]: 11.02 : PID-10500, L2A_ProcessTile: start of Scene Classification, elapsed time[s]: 0.014
Progress[%]: 11.03 : PID-10500, Pre process , elapsed time[s]: 0.148
Progress[%]: 11.04 : PID-10500, L2A_SC init , elapsed time[s]: 0.146
Progress[%]: 11.07 : PID-10500, L2A_CSND_1_1 , elapsed time[s]: 0.359
Progress[%]: 11.08 : PID-10500, L2A_CSND_1_2 , elapsed time[s]: 0.241
Progress[%]: 11.10 : PID-10500, L2A_CSND_2_0 , elapsed time[s]: 0.315
Progress[%]: 11.12 : PID-10500, L2A_CSND_2_1 , elapsed time[s]: 0.263
Progress[%]: 11.13 : PID-10500, L2A_CSND_2_1_2, elapsed time[s]: 0.245
Progress[%]: 11.14 : PID-10500, L2A_CSND_2_2 , elapsed time[s]: 0.118
Progress[%]: 11.15 : PID-10500, L2A_CSND_2_3 , elapsed time[s]: 0.112
Progress[%]: 11.16 : PID-10500, L2A_CSND_2_4 , elapsed time[s]: 0.263
Progress[%]: 11.18 : PID-10500, L2A_CSND_2_5 , elapsed time[s]: 0.294
Progress[%]: 11.21 : PID-10500, L2A_CSND_3 , elapsed time[s]: 0.418
Progress[%]: 11.23 : PID-10500, L2A_CSND_5_1 , elapsed time[s]: 0.318
Progress[%]: 11.26 : PID-10500, L2A_CSND_5_2 , elapsed time[s]: 0.470
Progress[%]: 11.28 : PID-10500, L2A_CSND_6 , elapsed time[s]: 0.375
Progress[%]: 11.30 : PID-10500, L2A_CSND_6_2 , elapsed time[s]: 0.214
Progress[%]: 11.31 : PID-10500, L2A_CSND_7 , elapsed time[s]: 0.234
Progress[%]: 11.55 : PID-10500, L2A_SHD , elapsed time[s]: 3.787
Progress[%]: 11.57 : PID-10500, DV recovery , elapsed time[s]: 0.219
Progress[%]: 11.58 : PID-10500, WP recovery , elapsed time[s]: 0.250
Progress[%]: 11.60 : PID-10500, Snow recovery , elapsed time[s]: 0.250
Progress[%]: 11.61 : PID-10500, Soil recovery , elapsed time[s]: 0.125
Progress[%]: 11.67 : PID-10500, Post process , elapsed time[s]: 1.001
Progress[%]: 11.67 : PID-10500, L2A_ProcessTile: start of Automatic Aerosol Type Detection, elapsed time[s]: 0.000
Progress[%]: 11.67 : PID-10500, L2A_AtmCorr: testing mid latitude: SUMMER, aerosol type: RURAL, elapsed time[s]: 0.000
Progress[%]: 11.68 : PID-10500, L2A_AtmCorr: end of calculation terrain maps, elapsed time[s]: 0.235
Progress[%]: 11.86 : PID-10500, L2A_AtmCorr: start of AOT retrieval at 550nm, elapsed time[s]: 2.746
Progress[%]: 11.89 : PID-10500, L2A_AtmCorr: end of AOT retrieval at 550nm, elapsed time[s]: 0.500
Progress[%]: 11.96 : PID-10500, L2A_AtmCorr: end of internal classification, elapsed time[s]: 1.108
Progress[%]: 11.99 : PID-10500, L2A_AtmCorr: end of interpolation LUTs, elapsed time[s]: 0.437
Progress[%]: 12.13 : PID-10500, L2A_AtmCorr: end retrieving reference pixels for dark areas, elapsed time[s]: 2.231
Progress[%]: 12.55 : PID-10500, L2A_AtmCorr: end of check for negative reflectance pixels, elapsed time[s]: 6.549
Progress[%]: 12.65 : PID-10500, L2A_AtmCorr: end of visibility index calculation, elapsed time[s]: 1.640
Progress[%]: 12.65 : PID-10500, L2A_AtmCorr: testing mid latitude: SUMMER, aerosol type: MARITIME, elapsed time[s]: 0.000
Progress[%]: 12.67 : PID-10500, L2A_AtmCorr: end of calculation terrain maps, elapsed time[s]: 0.234
Progress[%]: 12.84 : PID-10500, L2A_AtmCorr: start of AOT retrieval at 550nm, elapsed time[s]: 2.735
Progress[%]: 12.87 : PID-10500, L2A_AtmCorr: end of AOT retrieval at 550nm, elapsed time[s]: 0.500
Progress[%]: 12.94 : PID-10500, L2A_AtmCorr: end of internal classification, elapsed time[s]: 1.078
Progress[%]: 12.97 : PID-10500, L2A_AtmCorr: end of interpolation LUTs, elapsed time[s]: 0.438
Progress[%]: 13.07 : PID-10500, L2A_AtmCorr: end retrieving reference pixels for dark areas, elapsed time[s]: 1.593
Progress[%]: 13.44 : PID-10500, L2A_AtmCorr: end of check for negative reflectance pixels, elapsed time[s]: 5.844
Progress[%]: 13.53 : PID-10500, L2A_AtmCorr: end of visibility index calculation, elapsed time[s]: 1.438
Progress[%]: 13.53 : PID-10500, L2A_AtmCorr: testing mid latitude: WINTER, aerosol type: RURAL, elapsed time[s]: 0.000
Progress[%]: 13.55 : PID-10500, L2A_AtmCorr: end of calculation terrain maps, elapsed time[s]: 0.234
Progress[%]: 13.73 : PID-10500, L2A_AtmCorr: start of AOT retrieval at 550nm, elapsed time[s]: 2.781
Progress[%]: 13.76 : PID-10500, L2A_AtmCorr: end of AOT retrieval at 550nm, elapsed time[s]: 0.547
Progress[%]: 13.83 : PID-10500, L2A_AtmCorr: end of internal classification, elapsed time[s]: 1.109
Progress[%]: 13.86 : PID-10500, L2A_AtmCorr: end of interpolation LUTs, elapsed time[s]: 0.469
Progress[%]: 13.97 : PID-10500, L2A_AtmCorr: end retrieving reference pixels for dark areas, elapsed time[s]: 1.672
Progress[%]: 14.31 : PID-10500, L2A_AtmCorr: end of check for negative reflectance pixels, elapsed time[s]: 5.355
Progress[%]: 14.40 : PID-10500, L2A_AtmCorr: end of visibility index calculation, elapsed time[s]: 1.514
Progress[%]: 14.40 : PID-10500, L2A_AtmCorr: testing mid latitude: WINTER, aerosol type: MARITIME, elapsed time[s]: 0.000
Progress[%]: 14.42 : PID-10500, L2A_AtmCorr: end of calculation terrain maps, elapsed time[s]: 0.250
Progress[%]: 14.60 : PID-10500, L2A_AtmCorr: start of AOT retrieval at 550nm, elapsed time[s]: 2.797
Progress[%]: 14.63 : PID-10500, L2A_AtmCorr: end of AOT retrieval at 550nm, elapsed time[s]: 0.500
Progress[%]: 14.70 : PID-10500, L2A_AtmCorr: end of internal classification, elapsed time[s]: 1.093
Progress[%]: 14.73 : PID-10500, L2A_AtmCorr: end of interpolation LUTs, elapsed time[s]: 0.516
Progress[%]: 14.83 : PID-10500, L2A_AtmCorr: end retrieving reference pixels for dark areas, elapsed time[s]: 1.625
Progress[%]: 15.17 : PID-10500, L2A_AtmCorr: end of check for negative reflectance pixels, elapsed time[s]: 5.319
Progress[%]: 15.27 : PID-10500, L2A_AtmCorr: end of visibility index calculation, elapsed time[s]: 1.469
Progress[%]: 15.27 : PID-10500, L2A_AtmCorr: best fit is: WINTER MARITIME, elapsed time[s]: 0.016
Progress[%]: 15.27 : PID-10500, L2A_AtmCorr: with aerosol double ratio: 1.282663, elapsed time[s]: 0.000
Progress[%]: 15.27 : PID-10500, L2A_ProcessTile: start of Atmospheric Correction, elapsed time[s]: 0.000
Progress[%]: 15.28 : PID-10500, L2A_AtmCorr: end of calculation terrain maps, elapsed time[s]: 0.234
Progress[%]: 15.46 : PID-10500, L2A_AtmCorr: start of AOT retrieval at 550nm, elapsed time[s]: 2.755
Progress[%]: 15.49 : PID-10500, L2A_AtmCorr: end of AOT retrieval at 550nm, elapsed time[s]: 0.500
Progress[%]: 15.56 : PID-10500, L2A_AtmCorr: end of internal classification, elapsed time[s]: 1.094
Progress[%]: 15.59 : PID-10500, L2A_AtmCorr: end of interpolation LUTs, elapsed time[s]: 0.469
Progress[%]: 15.69 : PID-10500, L2A_AtmCorr: end retrieving reference pixels for dark areas, elapsed time[s]: 1.609
Progress[%]: 16.02 : PID-10500, L2A_AtmCorr: end of check for negative reflectance pixels, elapsed time[s]: 5.214
Progress[%]: 16.12 : PID-10500, L2A_AtmCorr: end of visibility index calculation, elapsed time[s]: 1.515
Progress[%]: 16.12 : PID-10500, L2A_AtmCorr: start of water vapour retrieval, elapsed time[s]: 0.000
Process L2A_ProcessTile-1:
Traceback (most recent call last):
File “C:\Python27\lib\multiprocessing\process.py”, line 258, in _bootstrap
self.run()
File “C:\Python27\lib\site-packages\sen2cor-2.3.0-py2.7.egg\sen2cor\L2A_ProcessTile.py”, line 121, in run
if self.process_60() == False:
File “C:\Python27\lib\site-packages\sen2cor-2.3.0-py2.7.egg\sen2cor\L2A_ProcessTile.py”, line 147, in process_60
return self.process()
File “C:\Python27\lib\site-packages\sen2cor-2.3.0-py2.7.egg\sen2cor\L2A_ProcessTile.py”, line 223, in process
if(ac.process() == False):
File “sen2cor\L2A_AtmCorr.py”, line 3267, in sen2cor.L2A_AtmCorr.L2A_AtmCorr.process (L2A_AtmCorr.c:66188)
File “sen2cor\L2A_AtmCorr.py”, line 9850, in sen2cor.L2A_AtmCorr.L2A_AtmCorr.prepare_wv_retrieval (L2A_AtmCorr.c:222547)
File “sen2cor\L2A_AtmCorr.py”, line 9739, in sen2cor.L2A_AtmCorr.L2A_AtmCorr.apda1_lut_constvis_a3 (L2A_AtmCorr.c:220096)
File “sen2cor\L2A_AtmCorr.py”, line 4425, in sen2cor.L2A_AtmCorr.L2A_AtmCorr.altit3_atm (L2A_AtmCorr.c:96448)
File “sen2cor\L2A_AtmCorr.py”, line 4037, in sen2cor.L2A_AtmCorr.L2A_AtmCorr.read_atm_hyper_a3 (L2A_AtmCorr.c:84257)
File “C:\Python27\lib\genericpath.py”, line 57, in getsize
return os.stat(filename).st_size
WindowsError: [Error 2] Impossibile trovare il file specificato: ‘C:\Python27\Lib\site-packages\sen2cor-2.3.0-py2.7.egg\sen2cor\lib\20_60\h99000_wv02_mari.atm’

Hi,

I got a similar error. This is probably generated because the parameter ‘Mid_Latitude’ is set to value ‘AUTO’ in the ‘L2A_GIPP.xml’ configuration file.

Other users already got similar errors:

Leaving the default parameters in ‘L2A_GIPP.xml’ configuration file let you to process the data without errors.
Hope it helps,

Federico

Dear Federico,
Thank you very much for your support.
At moment is very appreciate.
It 'a shame not to take advantage of the information derivable from
sentinel-2 bands to perform atmospheric correction.
All the best

Hello Federico and all,

I got a similar error too. System can´t find this file: “h99000_wv02_rura.atm”.
I made these basic changes in the settings of L2A_GIPP.xml:
Nr_Processes: 4
Mid_Latitude: WINTER
WV_Correction: 1
Cirrus_Correction: 1

error:
WindowsError: [Error 2] Systém nemůže nalézt uvedený soubor: ‘C:\Users\zelenkova.katerina\AppData\Local\Continuum\Anaconda2\Lib\site-packages\sen2cor-2.3.1-py2.7.egg\sen2cor\lib\20_60\h99000_wv02_rura.atm’

Thank you. I will be happy for any comment or advice.

Kind regards,
Katerina

Hi Katerina,

perhaps something was wrong during your installation and the atm files were not copied to the Anaconda folder. You could try to copy them manually to the indicated path “C:\Users\zelenkova.katerina\AppData\Local\Continuum\Anaconda2\Lib\site-packages\sen2cor-2.3.1-py2.7.egg\sen2cor\lib\20_60” from the sen2cor zip file (sen2cor-2.3.1.zip\sen2cor-2.3.1\sen2cor\lib\20_60)

Hi,
file h99000_wv02_rura.atm is not included in sen2cor package ( sen2cor zip file (sen2cor-2.3.1.zip\sen2cor-2.3.1\sen2cor\lib\20_60)

Regards

Hello,

thank you for answer. I have checked the path you suggested.
But I agree with kiryl23 - this file h99000_wv02_rura.atm is not included in sen2cor package at all.
On the following picture you can see, what files are included in my folder.
Would you suggest to download the Sen2cor plug-in and install it again?
Thank you, Katerina

Hi,

I was wrong with the name of the file, it is not in the folder, sorry. So the re-installation is not going to work (the problem is not related to the sen2cor plugin, the plugin is only a “bridge” to call Sen2Cor)

Hi @KaterinaZet,

probably the error is reated to the fact that in the configuration file ‘L2A_GIPP.xml’ the ‘Ozone_Content’ parameter was not consistent with the selected ‘Mid_Latitude’ parameter you set.
From what I understood, the first letter of the LUT files (.atm contained in the sen2cor lib folder) refer to the atmospheric temperature profile and ozone content. When changing the ‘Mid_Latitude’ parameter to ‘WINTER’, you should also change the ‘Ozone_Content’ parameter to ‘w’ (standard for Mid-Latitude winter) or another letter in the range ‘t-y’.

For your case, I would try to set ‘Ozone_Content’ parameter to ‘w’ to see if the process run without any error.
Here an example of the ‘L2A_GIPP.xml’ section where these parameters should be set.

<Look_Up_Tables>
  <Aerosol_Type>RURAL</Aerosol_Type>
  <!-- RURAL, MARITIME, AUTO -->
  <Mid_Latitude>WINTER</Mid_Latitude>
  <!-- SUMMER, WINTER, AUTO -->
  <Ozone_Content>w</Ozone_Content>
  <!-- 0, f-k, t-y -->
  <!-- The atmospheric temperature profile and ozone content:
  	"0" means: get best approximation from metadata (this is smallest difference between metadata and column DU)
  	
    For midlatitude summer atmosphere:
    "f" 250 DU
    "g" 290 DU
    "h" 331 DU (standard MS)
    "i" 370 DU
    "j" 410 DU
    "k" 450 DU
    
    For midlatitude winter atmosphere:
    "t" 250 DU
    "u" 290 DU
    "v" 330 DU
    "w" 377 DU (standard MW)
    "x" 420 DU
    "y" 460 DU
   -->
</Look_Up_Tables>

Hope this may help.
Kind regards,

Federico

Hi Federico,

thank you very much for your advice (which is logical :-)).
I made change in my settings as you suggested, but still it does not work, respectively the same error occured.
The same happenned when I used another settings (RURAL, SUMMER, ozone content: h). In both case I used “new” data from February or March of this year. Now I am testing Sen2cor using the “old” data (e.g. from March 2016) - single tile from the whole scene product - and Sen2cor have been processed without any problem.
Do you think there might be any other restrictions?

With regards,
Katerina