Search found 25 matches

by sakvaka_env
Wed Oct 04, 2023 11:32 am
Forum: Support
Topic: Change in Earthdata API
Replies: 15
Views: 37821

Re: Change in Earthdata API

There doesn't seem to be an easy fix but here is a suggestion. The problem is that we need to distinguish between non-fatal assertions (like error 404) and fatal assertions (like missing or unfunctional Earthdata credentials, wget error etc.), and all temporary files need to be cleared nonetheless. ...
by sakvaka_env
Wed Oct 04, 2023 10:42 am
Forum: Support
Topic: Change in Earthdata API
Replies: 15
Views: 37821

Change in Earthdata API

There has appeared a change in Nasa's Earthdata API: if now the user tries to download a file which doesn't exist (say, an ozone product which doesn't exist like GMAO_FP.20210311T06000000.MET.NRT.nc ), the server returns HTTP code 200 (OK) and a text page saying: 404 Error - File GMAO_FP.20210311T06...
by sakvaka_env
Fri Sep 01, 2023 10:49 am
Forum: Support
Topic: L8 ancillary error
Replies: 5
Views: 21400

Re: L8 ancillary error

Another update and question about 4.16.1 installation - I tried v4.16.1 with python v3.8, and am receiving this error when trying to run my imagery: (polymer) [sbaratta@katahdin polymer-v4.16.1]$ python runPolymer.py Traceback (most recent call last): File "runPolymer.py", line 1, in <module> from ...
by sakvaka_env
Mon Aug 28, 2023 6:56 am
Forum: Support
Topic: L8 ancillary error
Replies: 5
Views: 21400

Re: L8 ancillary error

Are you using version 4.16.1 instead of 4.16? It has fixed an issue related to ancillary data, which manifested itself as an index overflow in LUT table lookup.

viewtopic.php?f=5&t=210
by sakvaka_env
Thu Aug 10, 2023 9:58 am
Forum: Support
Topic: POLYMER 4.16.1 make error
Replies: 12
Views: 28430

Re: POLYMER 4.16.1 make error

In file included from /public3/home/sc73004/.conda/envs/polymer/lib/python3.11/site-packages/numpy/core/include/numpy/ndarraytypes.h:1929:0, from /public3/home/sc73004/.conda/envs/polymer/lib/python3.11/site-packages/numpy/core/include/numpy/ndarrayobject.h:12, from /public3/home/sc73004/.conda/env...
by sakvaka_env
Thu Aug 10, 2023 9:42 am
Forum: Support
Topic: New to polymer
Replies: 1
Views: 16633

Re: New to polymer

Here's an example on how it could be done in Python. #!/usr/bin/env python # -*- coding: utf-8 -*- import os from polymer.main import run_atm_corr from polymer.level1 import Level1 from polymer.level2 import Level2 from polymer.ancillary import Ancillary_NASA def set_earthdata(): """ This is just a ...
by sakvaka_env
Thu Aug 03, 2023 9:56 am
Forum: Support
Topic: MSI2 Sline Endline command error
Replies: 4
Views: 24968

Re: MSI2 Sline Endline command error

S and E signify "start" and "end". Are your start and end the wrong way around since your eline is smaller than sline and ecol smaller than scol...?
by sakvaka_env
Thu Aug 03, 2023 9:53 am
Forum: Support
Topic: POLYMER 4.16.1 make error
Replies: 12
Views: 28430

Re: POLYMER 4.16.1 make error

Dear sakvaka_env, Thank you for your so details explain. Is that mean i should use the old version with Cpython, maybe Cpython 2.0 will be work. Best Binbin That's one option, but another is to modify setup.py like this to force Cython to use Python 2: --- setup.py 2023-04-07 11:58:22.000000000 +00...
by sakvaka_env
Fri Jul 28, 2023 8:37 am
Forum: Support
Topic: POLYMER 4.16.1 make error
Replies: 12
Views: 28430

Re: POLYMER 4.16.1 make error

The error is stated in the message: "FutureWarning: Cython directive 'language_level' not set, using '3str' for now (Py3). This has changed from earlier releases!" Polymer's compiled Python/C module is written in Python 2.

The change occurred on July 17 2023 when Cython v. 3.0.0 was released.
by sakvaka_env
Thu Apr 06, 2023 10:10 am
Forum: Support
Topic: Bug report: GMAO_FP ancillary data, inconsistent pressure units
Replies: 2
Views: 17706

Re: Bug report: GMAO_FP ancillary data, inconsistent pressure units

Patch to fix it. --- ancillary.original 2023-04-06 12:56:14.614553779 +0300 +++ ancillary.py 2023-04-06 12:56:47.183812874 +0300 @@ -214,6 +214,8 @@ elif param == 'surf_press': press = ds['PS'].values + if 'units' in ds['PS'].attrs.keys() and ds['PS'].units == 'Pa': + press /= 100. D = LUT_LatLon(pr...