Search found 12 matches

by pavel_babyak
Sun Jan 17, 2021 12:56 pm America/New_York
Forum: Questions/Comments
Question: problem with modis_L1A.py
Replies: 4

problem with modis_L1A.py

Yes.
by pavel_babyak
Sun Jan 17, 2021 10:15 am America/New_York
Forum: Questions/Comments
Question: problem with modis_L1A.py
Replies: 4

problem with modis_L1A.py

Hello. Approximately from January 14 modis_L1A.py began to return error 36.LogStatus contains the following message:------------get_pcf_config_data():MODIS_E_UTC_TO_TAI_FAILED:286764594PGS_TD_UTCtoTAI returned a non-success message Unable to convert UTC time to TAI representation: 2021-01-15T02:44:5...
by pavel_babyak
Wed Jan 22, 2020 11:14 pm America/New_York
Forum: Questions/Comments
Question: HotFix for SeaDAS 7.5 login problem
Replies: 5

HotFix for SeaDAS 7.5 login problem

This is very strange that `status` has not been initialized. May be after applying patch formatting was broken and behavior of function changed? Anyway, your changes are bad.Because in your case function always return 0 as status code.Right solution is to initialize variable `status` at start of fun...
by pavel_babyak
Wed Jan 22, 2020 11:01 pm America/New_York
Forum: Questions/Comments
Question: HotFix for SeaDAS 7.5 login problem
Replies: 5

HotFix for SeaDAS 7.5 login problem

> And when I remove # from  urlConn i.e.You should not uncomment this block.This is old code, i just forgot to remove it.About previous error `UnboundLocalError: local variable 'status' referenced before assignment`This is very strange, because `status` variable should be initialized in...
by pavel_babyak
Wed Jan 22, 2020 1:29 am America/New_York
Forum: Questions/Comments
Question: Fixes for the getanc.py and modis_atteph.py login issues
Replies: 6

Fixes for the getanc.py and modis_atteph.py login issues

Hi.
Patch in this thread have one bug.

I wrote a separate post with the latest version of the patch and described how to apply it.
by pavel_babyak
Wed Jan 22, 2020 1:24 am America/New_York
Forum: Questions/Comments
Question: HotFix for SeaDAS 7.5 login problem
Replies: 5

HotFix for SeaDAS 7.5 login problem

Hi!This is my attempt to make hot fix for login problem.I am not enough good with Python and internet protocols, so i decided to use external python library requests.We are using Calculate Linux, so i don't know what the exactly package name in Ubuntu, RHL, or other non-gentoo-based distribution...
by pavel_babyak
Mon Jan 20, 2020 4:19 am America/New_York
Forum: Questions/Comments
Question: Fixes for the getanc.py and modis_atteph.py login issues
Replies: 6

Fixes for the getanc.py and modis_atteph.py login issues

Previous variant not working :(Trying to use requests library, should works:diff --git a/modules/ProcUtils.py b/modules/ProcUtils.pyindex edceb41..6559339 100644--- a/modules/ProcUtils.py+++ b/modules/ProcUtils.py@@ -6,7 +6,7 @@ SeaDAS library for commonly used functions within other python scripts ...
by pavel_babyak
Mon Jan 20, 2020 1:31 am America/New_York
Forum: Questions/Comments
Question: Fixes for the getanc.py and modis_atteph.py login issues
Replies: 6

Fixes for the getanc.py and modis_atteph.py login issues

You can make it easier.Enough to patch ProcUtils.py to work with a .netrcMy solution:patchdiff --git a/modules/ProcUtils.py b/modules/ProcUtils.pyindex edceb41..547fe7b 100644--- a/modules/ProcUtils.py+++ b/modules/ProcUtils.py@@ -6,7 +6,9 @@ SeaDAS library for commonly used functions within other p...
by pavel_babyak
Mon Jan 20, 2020 1:20 am America/New_York
Forum: Questions/Comments
Question: modis_geo.py processing problem
Replies: 4

modis_geo.py processing problem

Some workaround of problem with sitesThis patch use .netrc, so you should add to .netrc not only `urs.earthdata.nasa.gov` but `oceandata.sci.gsfc.nasa.gov` too patchdiff --git a/modules/ProcUtils.py b/modules/ProcUtils.pyindex edceb41..547fe7b 100644--- a/modules/ProcUtils.py+++ b/modules/ProcUtils....
by pavel_babyak
Fri Jan 17, 2020 12:18 am America/New_York
Forum: Questions/Comments
Question: Fixes for the getanc.py and modis_atteph.py login issues
Replies: 6

Fixes for the getanc.py and modis_atteph.py login issues

<...>
UPD: Sorry, wrong info   :confused: