Search found 139 matches

by fsteinmetz
Wed Aug 26, 2020 1:20 pm
Forum: Support
Topic: The hdf output can not processed completely and the output netcdf image can not match with the original input in SNAP
Replies: 2
Views: 343

Re: The hdf output can not processed completely and the output netcdf image can not match with the original input in SNA

Hello, I tried to reproduce your error with HDF output but couldn't, in my case it didn't fail. Maybe if you could export your anaconda environment, if you are using anaconda, that could be helpful (conda env export > environment.yml). Concerning the error of geolocation in SNAP, this could be due t...
by fsteinmetz
Wed Aug 26, 2020 11:12 am
Forum: Support
Topic: Why there are many NaN in processing sentinel-2 ?
Replies: 10
Views: 1076

Re: Why there are many NaN in processing sentinel-2 ?

Dear ding, Polymer is an atmospheric correction algorithm to retrieve water colour. It is not designed to work over land. With default processing parameters, the cloud mask triggers over most of the land pixels, and polymer returns bad results when it doesn't. An optional land mask (GSW) can be used...
by fsteinmetz
Wed Aug 26, 2020 11:08 am
Forum: Support
Topic: All NaN Values - Landsat 8
Replies: 10
Views: 1005

Re: All NaN Values - Landsat 8

Dear GHesketh4, I tried the same file but did not get a file full of NaNs. Water reflectance is recovered over the glint area. Which version of Polymer did you use ? LC08_L1TP_011029_20200615_20200625_01_T1_polymer.jpg ding: please open a new thread if you have a precise question that is unrelated t...
by fsteinmetz
Tue Aug 25, 2020 9:36 am
Forum: Support
Topic: Landsat 8 SWIR Bands
Replies: 2
Views: 379

Re: Landsat 8 SWIR Bands

Hi Gabe, Indeed you did the proper modification, but this requires a few additional changes in level1_landsat.py and params.py. See the following diff (I will include these changes in further releases of Polymer) : diff --git a/polymer/level1_landsat8.py b/polymer/level1_landsat8.py index a70ad72..b...
by fsteinmetz
Mon Aug 24, 2020 9:10 am
Forum: Support
Topic: install error linux centos7
Replies: 30
Views: 4121

Re: install error linux centos7

Dear Binbin,

You need to provide the granule directory like "S2A_OPER_MSI_L1C_TL_SGS__20160912T204513_A006400_T19TDJ_N02.04" , not IMG_DATA.
Please see section 2.3.4 of the README.
Cheers,
François
by fsteinmetz
Thu Aug 06, 2020 2:37 pm
Forum: Support
Topic: install error linux centos7
Replies: 30
Views: 4121

Re: install error linux centos7

Dear Binbin, You need to provide credentials to NASA EarthData to access ancillary data. As mentioned in the error message: Error authenticating to NASA EarthData for downloading ancillary data. Please provide authentication through .netrc. See more information on https://support.earthdata.nasa.gov/...
by fsteinmetz
Thu Aug 06, 2020 2:31 pm
Forum: Support
Topic: how to run the polymer
Replies: 12
Views: 1613

Re: how to run the polymer

Hi, It seems that the download of "auxdata/common/no2_climatology.hdf" has failed, could you try to remove this file and try again ? By the way, there was a letter "i" missing in the filename you mentioned. Concerning the processing of Landsat8 files : * You need to provide a directory name, not a t...
by fsteinmetz
Thu Aug 06, 2020 2:08 pm
Forum: Support
Topic: What is Bitmask 2112
Replies: 7
Views: 723

Re: What is Bitmask 2112

Dear Vishnu, Bitmask is coded in binary, where each bit represents a flag, as coded in bitmask's attributes, from LAND=1=2^0 to INCONSISTENCY=2048=2^11. Thus 2112 = 64+2048 = THICK_AEROSOL+INCONSISTENCY It is recommended to remove pixels where any of the first eleven bits is raised, thus where "bitm...
by fsteinmetz
Wed Aug 05, 2020 8:43 am
Forum: Support
Topic: Geo-coordinates of Sentinel-2 results
Replies: 5
Views: 792

Re: Geo-coordinates of Sentinel-2 results

So, for the record, the patch is: diff --git a/polymer/level1_msi.py b/polymer/level1_msi.py index e2a7b63..c3e1926 100644 --- a/polymer/level1_msi.py +++ b/polymer/level1_msi.py @@ -198,8 +198,8 @@ class Level1_MSI(Level1_base): XDIM = int(e.find('XDIM').text) YDIM = int(e.find('YDIM').text) - X, Y...
by fsteinmetz
Wed Aug 05, 2020 8:33 am
Forum: Support
Topic: Geo-coordinates of Sentinel-2 results
Replies: 5
Views: 792

Re: Geo-coordinates of Sentinel-2 results

Great! Good to read that it solves the issue. I will integrate this modification in further Polymer releases. Just a minor comment: in python3 you would have to use XDIM//2 to stay with integers, XDIM/2 gives a float. But I don't expect that it should affect the results - maybe the performance ? But...