Search found 50 matches

by fsteinmetz
Mon Oct 14, 2019 10:03 am
Forum: Support
Topic: polymer 4.12 throws ValueError "masked arrays not supported"
Replies: 2
Views: 38

Re: polymer 4.12 throws ValueError "masked arrays not supported"

Hi Martin, Thanks for the detailed report ! Indeed there is a bug, external ancillary data can not be applied to OLCI due to the NetCDF library returning masked arrays. This can be fixed with the following patch : diff --git a/polymer/level1_olci.py b/polymer/level1_olci.py index 10a4a63..55787d6 10...
by fsteinmetz
Fri Oct 04, 2019 11:26 am
Forum: Support
Topic: Sentinel 2 - missing 4 bands
Replies: 1
Views: 39

Re: Sentinel 2 - missing 4 bands

Dear Federica, Indeed these bands are not included by default. To include band 842, pass the following argument to run_atm_corr : run_atm_corr(..., bands_rw=[443,490,560,665,705,740,783,842,865, 1610, ]) I will make it default in the next polymer release. You could do the same for the other bands, b...
by fsteinmetz
Thu Sep 12, 2019 10:18 am
Forum: Releases
Topic: Polymer v4.12
Replies: 0
Views: 204

Polymer v4.12

By downloading Polymer you agree to the licence terms and conditions . In this version : OLCI SVC coefficients have been updated Support for ERA5 ancillary data has been added Support for VIIRS/JPSS1 has been added Fixed bugs in landsat8 and HICO readers See more details in the changelog . Don't hes...
by fsteinmetz
Mon Sep 09, 2019 9:24 am
Forum: Support
Topic: Processing data for particular lat long
Replies: 1
Views: 86

Re: Processing data for particular lat long

Dear Karthick,

Indeed, all Level1 readers support the following keywords: sline, eline, scol and ecol.

Example:

Code: Select all

run_atm_corr(
    Level1_OLCI(product_name, sline=1000, eline=1100, scol=300, ecol=400),
    Level2_NETCDF()
)
Cheers,
François
by fsteinmetz
Wed Aug 28, 2019 2:33 pm
Forum: Support
Topic: error to run POLYMER v4.11
Replies: 13
Views: 306

Re: error to run POLYMER v4.11

Ok, great to see this is solved.
For your last error message, I guess you forgot to compile the program :)
by fsteinmetz
Wed Aug 28, 2019 9:36 am
Forum: Support
Topic: error to run POLYMER v4.11
Replies: 13
Views: 306

Re: error to run POLYMER v4.11

Hi Laura, I have similar lines in my .bashrc. However in my case, PROJ_LIB points to the anaconda directory: % env | grep PROJ PROJ_LIB=/home/applis/anaconda/envs/py3v19.04/share/proj _CONDA_SET_PROJ_LIB=/home/applis/seadas/v7.5.3/ocssw//opt/share/proj Maybe is there an issue with your anaconda inst...
by fsteinmetz
Mon Aug 26, 2019 11:56 am
Forum: Support
Topic: error to run POLYMER v4.11
Replies: 13
Views: 306

Re: error to run POLYMER v4.11

Can you show the seadas-related lines in your .bashrc?
by fsteinmetz
Thu Aug 22, 2019 3:10 pm
Forum: Support
Topic: error to run POLYMER v4.11
Replies: 13
Views: 306

Re: error to run POLYMER v4.11

Please edit your file /home/laura/.bashrc, and see if the variable PROJ_LIB is set in this file. If this is the case, please comment out this line, restart your terminal and see if it works.
by fsteinmetz
Wed Aug 21, 2019 1:56 pm
Forum: Support
Topic: Compiling cuda binaries
Replies: 8
Views: 464

Re: Compiling cuda binaries

Dear Clémence, Concerning pycuda installation we are internally using either pip install pycuda or https://anaconda.org/lukepfister/pycuda. Also, please make sure to use latest version 0.9.2 which ships with source code instead of compiled binaries : it easens significantly the flexibility of the in...
by fsteinmetz
Tue Aug 20, 2019 2:03 pm
Forum: Support
Topic: error to run POLYMER v4.11
Replies: 13
Views: 306

Re: error to run POLYMER v4.11

This PROJ_LIB environment variable should be set by your anaconda environment for use by pyproj.
There is maybe a conflict with this seadas-related variable.
Is it set in your .bashrc ? If so, could you try to remove it from your .bashrc, restart your anaconda environment and see if that helps ?