Estimate net shortwave radiation (3.3.1.15), product contains no data

Hello,
when I´m trying to estimate net shortwave radiation, the product does not contain any values.

Here´s the console output:

C:\Users\SCHLEP~1\AppData\Local\Temp>“C:\Users\Schlepphorst.snap\auxdata\sen-et-conda-Win64\sen-et-snap-scripts\…\python.exe” “C:\Users\Schlepphorst.snap\auxdata\sen-et-conda-Win64\sen-et-snap-scripts\net_shortwave_radiation.py” --lsp_product “C:\Users\Schlepphorst\Documents\SEN-ET\Daten\Elbe-Elster\20200808\Ausschnitt_2\Outputs\Sentinel 2\Sen2_leaf_reflectance_and_transmittance_subset.dim” --lai_product “C:\Users\Schlepphorst\Documents\SEN-ET\Daten\Elbe-Elster\20200808\Ausschnitt_2\Outputs\Sentinel 2\Sen2_biophysical_subset.dim” --csp_product “C:\Users\Schlepphorst\Documents\SEN-ET\Daten\Elbe-Elster\20200808\Ausschnitt_2\Outputs\Sentinel 2\Sen2_vegetation_structural_parameters_subset.dim” --mi_product C:\Users\Schlepphorst\Documents\SEN-ET\Daten\Elbe-Elster\20200808\Ausschnitt_2\Outputs\Weitere\Meteo_20200808_2_processed.dim --sza_product “C:\Users\Schlepphorst\Documents\SEN-ET\Daten\Elbe-Elster\20200808\Ausschnitt_2\Outputs\Sentinel 3\Sen3_WARP_observation_geometry_subset.dim” --soil_ref_vis 0.15 --soil_ref_nir 0.25 --output_file C:\Users\Schlepphorst\Documents\SEN-ET\Daten\Elbe-Elster\20200808\Ausschnitt_2\Outputs\Weitere\Output_estimate_net_shortwave_radiation_1.dim
INFO: org.esa.s2tbx.dataio.gdal.GDALVersion: GDAL 3.0.2 found on system. JNI driver will be used.
INFO: org.esa.s2tbx.dataio.gdal.GDALVersion: Installed GDAL 3.0.2 set to be used by SNAP.
WARNING: org.esa.s2tbx.dataio.gdal.GDALInstaller: Failed to delete the GDAL distribution folder ‘C:\Users\Schlepphorst.snap\auxdata\gdal’.
SEVERE: org.esa.s2tbx.dataio.gdal.GDALLoader: Failed to initialize GDAL native drivers. GDAL readers and writers were disabled.C:\Users\Schlepphorst.snap\auxdata\gdal\environment-variables.dll (Der Prozess kann nicht auf die Datei zugreifen, da sie von einem anderen Prozess verwendet wird)
INFO: org.esa.snap.core.gpf.operators.tooladapter.ToolAdapterIO: Initializing external tool adapters
INFO: org.esa.snap.core.util.EngineVersionCheckActivator: Please check regularly for new updates for the best SNAP experience.
INFO: org.esa.s2tbx.dataio.gdal.GDALVersion: Installed GDAL 3.0.2 set to be used by SNAP.
INFO: org.hsqldb.persist.Logger: dataFileCache open start
C:\Users\Schlepphorst.snap\auxdata\sen-et-conda-Win64\sen-et-snap-scripts\net_shortwave_radiation.py:61: RuntimeWarning: divide by zero encountered in true_divide
F = lai[i] / frac_cover[i]
C:\Users\Schlepphorst.snap\auxdata\sen-et-conda-Win64\lib\site-packages\pyTSEB\clumping_index.py:82: RuntimeWarning: divide by zero encountered in true_divide
F = LAI / f_C
C:\Users\Schlepphorst.snap\auxdata\sen-et-conda-Win64\lib\site-packages\pyTSEB\clumping_index.py:86: RuntimeWarning: invalid value encountered in multiply
trans = np.asarray(f_C * np.exp(-K_be * F) + (1.0 - f_C))
C:\Users\Schlepphorst.snap\auxdata\sen-et-conda-Win64\lib\site-packages\pyTSEB\clumping_index.py:87: RuntimeWarning: invalid value encountered in less_equal
trans[trans <= 0] = 1e-36
C:\Users\Schlepphorst.snap\auxdata\sen-et-conda-Win64\lib\site-packages\pyTSEB\clumping_index.py:89: RuntimeWarning: invalid value encountered in multiply
omega0 = -np.log(trans) / (F * K_be)
C:\Users\Schlepphorst.snap\auxdata\sen-et-conda-Win64\lib\site-packages\pyTSEB\clumping_index.py:120: RuntimeWarning: divide by zero encountered in true_divide
w_C = 1.0 / w_C
Finished tool execution in 11 seconds

Does anyone have an idea, how to fix it?

Regards, Rainer

What’s the overpass time of your Sentinel-3 scene? Could it be at night?

Yes, it was at night (S3B_SL_2_LST____20200808T204908_20200808T205208_…). So this is the error, I guess? I should better use scences from morning…

At night solar irradiance is zero and therefore so is modeled net shortwave radiation (which is why you get all black image). So it does not make sense to run ET model with night scenes.

1 Like