Hello, I am using polymer-v4.13 to process sentinel-2 data (cloudiness is less than 10%), and the result is that most of the pixels in non-water bodies have NaN values. What is the reason?
Thinks.
Best regards,
ding
Code: Select all
from polymer.main import run_atm_corr
from polymer.level2_nc import Level2_NETCDF
from polymer.level1_msi import Level1_MSI
from polymer.gsw import GSW
run_atm_corr(
Level1_MSI('<L1C product>', landmask=GSW('<gsw tiles storage directory>'))
Level2_NETCDF(),
)
Code: Select all
$ding@ding-virtual-machine:~/polymer-v4.13$ python3 /home/ding/polymer-v4.13/Sentinel2_process.py
Code: Select all
from polymer.main import run_atm_corr
from polymer.level2_hdf import Level2_hdf
from polymer.level1_msi import Level1_MSI
from polymer.gsw import GSW
run_atm_corr(
Level1_MSI('/home/ding/S2A_MSIL1C_20170402T024541_N0204_R132_T50RNV_20170402T025302/-
S2A_MSIL1C_20170402T024541_N0204_R132_T50RNV.SAFE/GRANULE/L1C_T50RNV_A009281_20170402T025302/', landmask=GSW('/home/ding/gsw'))
Level2_hdf(filename='outfile') #line 14
)
Code: Select all
Starting processing at 2020-09-03 18:44:58.698440
Initialize MSI projection EPSG:32650
/home/ding/.local/lib/python3.8/site-packages/pyproj/crs/crs.py:280: FutureWarning: '+init=<authority>:<code>' syntax is deprecated. '<authority>:<code>' is the preferred initialization method. When making the change, be mindful of axis order changes: https://pyproj4.github.io/pyproj/stable/gotchas.html#axis-order-changes-in-proj-6
projstring = _prepare_from_string(projparams)
Downloading https://storage.googleapis.com/global-surface-water/downloads/occurrence/occurrence_110E_40N.tif
Killed