I installed Seadas 8.1.0 and OCCSW on my Mac. I am trying to get MODIS GEO file via GUI but get the attached error (my .netrc file is OK and has worked before).
I'd appreciate your advice.
- MODIS-GEO 2021-07-07 at 4.33.37 PM.png (245.25 KiB) Not viewed yet
but use either a different python distribution (there are many, including anacoda, python.org, macports, homebrew, ...). The download authentication error points to the Python requests module, so you should try installing a current requests module in a way that does not affect the system python.
Thank you for your help with this issue. I find it surprising that I was able to process VIIRS (GEO file, L1B, and L2) and OLI (L1 to L2) images without any problems! It is just MODIS! I will have to get some help with python and hopefully it will work!
By the way my Mac has Anaconda python.
The authentication error indicates exactly that... an error authenticating. It is only reported when the server returns an HTTP error code 401. The most common reason for that is incorrect or lack of credentials passed in. The code uses the requests module and provides the credentials from the .netrc file. If you are certain those are correct, you may want to verify that your version of the requests module meets the requirements (https://seadas.gsfc.nasa.gov/requirements/)
I have requests in my anaconda python library:
Requirement already satisfied: requests in /Users/avmehta/anaconda3/lib/python3.7/site-packages (2.21.0)
Should I just update this?
I have always been able to download data from Earthdata sites -- I also checked by .netrc file and looks fine.
Thanks much for your help.
Code: Select all
% modis_GEO -h usage: modis_GEO [-h] [--version] [-p PARFILE] [-o GEOFILE] [--att1 ATT1] [--att2 ATT2] [--att3 ATT3] [--eph1 EPH1] [--eph2 EPH2] [--eph3 EPH3] [--ancdb ANCDB] [--ancdir ANCDIR] [-c] [-r] [-f] [--disable-download] [--timeout TIMEOUT] [--threshold THRESHOLD] [-d] [-v] [--log] [L1AFILE] positional arguments: L1AFILE Input L1A file optional arguments: -h, --help show this help message and exit [...] -v, --verbose print status messages --log Save processing log file(s)
Thank you for the reply to my message.
I am using GUI for now and every image I tried for 2021 has this problem.
I randomly tried 2018 and 2019 images -- they work but I do find that in GUI
also is ' unstable' -- loading files in GEO, L1B and L2 processing does not always work! Not sure if it is my Mac or the new software!