unable to download MODIS L1A data using wget

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
Post Reply
machl
Posts: 9
Joined: Mon Jun 15, 2020 9:58 am America/New_York
Answers: 0

unable to download MODIS L1A data using wget

by machl » Wed May 08, 2024 12:50 am America/New_York

Hello,

I used the following code to download MODIS/AQUA L1A data from July 2023 to May 2024:
wget --user=[my account] --password=[my password] --auth-no-challenge https://oceandata.sci.gsfc.nasa.gov/getfile/A2024127062000.L1A_LAC.bz2

However, all data cannot be downloaded completely and usually breaks down around 10% of the download. My Internet is working.

How to solve this problem, is the network issue of ocean color still not fully fixed?

Thanks for your help.

Filters:

machl
Posts: 9
Joined: Mon Jun 15, 2020 9:58 am America/New_York
Answers: 0

Re: unable to download MODIS L1A data using wget

by machl » Wed May 08, 2024 12:55 am America/New_York

Here is an example of run log:

HTTP request sent, awaiting response... 302 FOUND
Location: https://oceandata.sci.gsfc.nasa.gov/getfile/A2024127062000.L1A_LAC.bz2 [following]
--2024-05-08 12:39:53-- https://oceandata.sci.gsfc.nasa.gov/getfile/A2024127062000.L1A_LAC.bz2
Reusing existing connection to [oceandata.sci.gsfc.nasa.gov]:443.
HTTP request sent, awaiting response... 200 OK
Length: 222891202 (213M) [application/octet-stream]
Saving to: 釧2024127062000.L1A_LAC.bz2.12?

A2024127062000.L1 13%[> ] 28.49M 693KB/s in 45s

2024-05-08 12:40:39 (645 KB/s) - Connection closed at byte 29869682. Retrying.

--2024-05-08 12:40:40-- (try: 2) https://oceandata.sci.gsfc.nasa.gov/getfile/A2024127062000.L1A_LAC.bz2
Connecting to oceandata.sci.gsfc.nasa.gov (oceandata.sci.gsfc.nasa.gov)|2001:4d0:2418:128::84|:443... connected.
HTTP request sent, awaiting response... 416 Requested Range Not Satisfiable

The file is already fully retrieved; nothing to do.

Post Reply