Skip to content

missing Aqua_MSI_spectral_mapping.npz #33

Description

@nbennasr

@MarcYin Could you please fix the following error
FYI pipeline executed on:
155c4859-de48-4c68-ad11-a8baf5cedd16: S2C_MSIL1C_20250221T101051_N0511_R022_T32TNS_20250221T152956

File "/opt/s2gm/modules/SIAC/SIAC/the_aerosol.py", line 199, in init\n self.spec_map = Two_
NN(np_model_file=spec_m_dir + '/Aqua_%s_spectral_mapping.npz'%self.satellite)\n File "/opt/s2gm/modules/SIAC/SIAC/Two_NN.py", line 184, in init\n self.Hidden_Layers, self.Output_L
ayers = load_np_model(np_model_file)\n File "/opt/s2gm/modules/SIAC/SIAC/Two_NN.py", line 155, in load_np_model\n f = np.load(fname, allow_pickle=True)\n File "/usr/local/lib/pytho
n3.10/dist-packages/numpy/lib/npyio.py", line 427, in load\n fid = stack.enter_context(open(os_fspath(file), "rb"))\nFileNotFoundError: [Errno 2] No such file or directory: '/opt/s2gm
/modules/SIAC/SIAC/spectral_mapping//Aqua_S2C_spectral_mapping.npz'\n\nDuring handling of the above exception, another exception occurred:\n\nTraceback (most recent call last):\n File "/o
pt/s2gm/siac/src/siac_pipeline.py", line 162, in siac_pipeline\n SIAC_S2(\n File "/opt/s2gm/modules/SIAC/SIAC/SIAC_S2.py", line 49, in SIAC_S2\n aero_atmo = do_correction(*ret)\n
File "/opt/s2gm/modules/SIAC/SIAC/SIAC_S2.py", line 216, in do_correction\n aero = solve_aerosol(sensor_sat,toa_bands,band_wv, band_index,view_angles,\\n File "/opt/s2gm/modules/SI
AC/SIAC/the_aerosol.py", line 202, in init\n self.spec_map = Two_NN(np_model_file=spec_m_dir + '/Aqua_%s_spectral_mapping.npz'%self.sensor)\n File "/opt/s2gm/modules/SIAC/SIAC
/Two_NN.py", line 184, in init\n self.Hidden_Layers, self.Output_Layers = load_np_model(np_model_file)\n File "/opt/s2gm/modules/SIAC/SIAC/Two_NN.py", line 155, in load_np_model
n f = np.load(fname, allow_pickle=True)\n File "/usr/local/lib/python3.10/dist-packages/numpy/lib/npyio.py", line 427, in load\n fid = stack.enter_context(open(os_fspath(file), "
rb"))\nFileNotFoundError: [Errno 2] No such file or directory: '/opt/s2gm/modules/SIAC/SIAC/spectral_mapping//Aqua_MSI_spectral_mapping.npz'

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions