Search found 306 matches

by fsteinmetz
Mon Sep 13, 2021 8:45 am
Forum: Support
Topic: MSI Inland waters
Replies: 1
Views: 2625

Re: MSI Inland waters

Hello,

I think this is because you have called your script file "polymer.py", which causes a conflict with the module "polymer". Can you try to rename your script to something else ?
Cheers,
François
by fsteinmetz
Mon Aug 23, 2021 9:33 am
Forum: Support
Topic: OLCI inland waters
Replies: 4
Views: 3350

Re: OLCI inland waters

Hello, This is due to the fact that inland waters are flagged in OLCI level1. You can pass options to the Level1_OLCI object, as follows : - Level1_OLCI(..., landmask=None) # disactivate land mask entirely - Level1_OLCI(..., landmask=GSW(agg=8)) where GSW is imported from gsw.py. This will use the G...
by fsteinmetz
Wed Jun 16, 2021 2:24 pm
Forum: Support
Topic: Error Processing Landsat-8
Replies: 7
Views: 27886

Re: Error Processing Landsat-8

Hello, Indeed you need to generate the angles file. The documentation in level1_landsat8.py is a bit succinct, so here it is with some more details : The command to run to generate the angles file is : l8_angles LC08_..._ANG.txt BOTH 1 -b 1 l8_angles is available at: https://www.usgs.gov/land-resour...
by fsteinmetz
Wed Jun 16, 2021 2:16 pm
Forum: Support
Topic: Run error
Replies: 1
Views: 2767

Re: Run error

What is the error exactly ?
by fsteinmetz
Wed Jun 16, 2021 2:16 pm
Forum: Support
Topic: Processing data block size and offset
Replies: 3
Views: 6325

Re: Processing data block size and offset

No, it is not possible currently. You would require an external script to extract the coordinates from a range of latitude/longitude.
Cheers,
François
by fsteinmetz
Wed Jun 16, 2021 2:13 pm
Forum: Support
Topic: How to add land overlay map to POLYMER processed OLCI Image
Replies: 6
Views: 3896

Re: How to add land overlay map to POLYMER processed OLCI Image

Hi Vishnu, From your image, it seems you are assuming that Level2 products are provided on a regular grid in lat/lon, which is not the case. Please see the fields latitude and longitude, which are given per-pixel. After reprojection on a regular grid, it is indeed easier to overlay the coastlines. K...
by fsteinmetz
Tue Jun 01, 2021 1:44 pm
Forum: Support
Topic: Installation Error
Replies: 6
Views: 6245

Re: Installation Error

Hi,
From your script, it seems that you don't need the level1_ascii.py module which triggers an error upon import.
Please import only the modules that are required by your script.
Cheers,
François
by fsteinmetz
Tue Jun 01, 2021 1:40 pm
Forum: Support
Topic: Modify Polymer scripts for CASI-1500 data
Replies: 4
Views: 3978

Re: Modify Polymer scripts for CASI-1500 data

Hi Mengmeng, If you are referring to the Rayleigh correction, it is implemented in polymer/main.py:InitCorr.rayleigh_correction I guess you would have to interpoate your look-up table along a new dimension "altitude", or "pressure". As for the pix format, I have never encountered this format, so unf...
by fsteinmetz
Tue Jun 01, 2021 1:31 pm
Forum: Support
Topic: Webpage error
Replies: 4
Views: 3851

Re: Webpage error

Hi Guillaume, I'd have to investigate why those requests are failing. Which file are you trying to process ? It seems that no valid ancillary file could be downloaded. In the meantime, I can recommend to use ECMWF Era5 ancillary data source instead, which should anyway be a more consistent data sour...
by fsteinmetz
Tue Jun 01, 2021 1:26 pm
Forum: Support
Topic: Problem with S2 subset
Replies: 3
Views: 3300

Re: Problem with S2 subset

Hi, You should be able to read those files, but not with the command line interface because auto-detection is not implemented for those files. I'd recommend using the Leve1_NETCDF class in a python script like so (see example.py): run_atm_corr(Level1_NETCDF(<your netcdf file>), Level2_NETCDF()) I ho...