Search found 4 matches

by danit_twito
Wed Oct 27, 2021 12:14 pm America/New_York
Forum: Questions/Comments
Question: Bulk downloading files using python
Replies: 7

Re: Bulk downloading files using python

I will break the problem into chunks: The first block in Cygwin : USERNAME=danit_twito PASSWORD=****** cd C:/NC_files touch .netrc echo "machine urs.earthdata.nasa.gov login danit_twito password ******" > .netrc chmod 0600 .netrc touch .urs_cookies So far, the first block seems to be okay?...
by danit_twito
Wed Oct 27, 2021 9:06 am America/New_York
Forum: Questions/Comments
Question: Bulk downloading files using python
Replies: 7

Re: Bulk downloading files using python

Thanks for your response, Alicia. I'm following those commands - https://forum.earthdata.nasa.gov/viewtopic.php?f=7&t=2328&p=8245&hilit=Create+netrc+file&sid=abfcd9e0b08a3c296b051b8675ab2430#p8245 using Cygwin. If for example, I want to download a thousand files, what should I assign...
by danit_twito
Wed Oct 27, 2021 5:27 am America/New_York
Forum: Questions/Comments
Question: Bulk downloading files using python
Replies: 7

Re: Bulk downloading files using python

Until now, I have used a Python script on the web to create data access. for the URL variable I create this For loop ; for year in range (2002, 2021): for day in range(1,366): url = "https://oceandata.sci.gsfc.nasa.gov/ob/getfile/A{ {:03d}.L3m_DAY_CHL_chlor_a_4km.nc".format(year, day). Aft...
by danit_twito
Tue Oct 26, 2021 10:06 am America/New_York
Forum: Questions/Comments
Question: Bulk downloading files using python
Replies: 7

Bulk downloading files using python

Hi,
I am trying to find a way to download all the daily mapped Chlorophyll-a files between 2002 and 2020 using Python (Linux is not installed on my computer).
Could someone please attach a Python script for Earthdata bulk downloading?

Many thanks!