Downloading CO2 data from NASA GES DISC

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
Post Reply
Posts: 284
Joined: Thu Jul 11, 2019 4:32 pm America/New_York
Answers: 3

Downloading CO2 data from NASA GES DISC

by EarthdataForumContributor » Wed Apr 20, 2022 1:40 pm America/New_York

User-submitted question:

"I am working on a research project. For that I need some of the CO2 data which is available on the website.
I am having difficulty in understanding how to download it. At the moment, I marked the region and also selected
the years which I needed the data for, but at the end how to download it, because it is just creating a lot of files
and it is showing the instruction for download to install the wget and windows+r function but I am not understanding it properly, can you please help me with this?

I am attaching the image so you can have a better look for what I am trying to say. I have a windows PC and I also
downloaded wget."
screenshot of CO2 data download Khalique.png
screenshot of CO2 data download Khalique.png (476.33 KiB) Not viewed yet


GES DISC - jimacker
User Services
User Services
Posts: 297
Joined: Mon Sep 30, 2019 1:57 pm America/New_York
Answers: 3
Has thanked: 2 times
Been thanked: 4 times

Re: Downloading CO2 data from NASA GES DISC

by GES DISC - jimacker » Wed Apr 20, 2022 1:47 pm America/New_York

From your post, it is clear you were able to regionally and temporally subset the data for your research. Below
are some quick commands for using wget on Windows to help download several files. These commands use the user’s Earthdata account information for downloading the datasets.

wget for Windows

Downloading one file:

wget --load-cookies C:\.urs_cookies --save-cookies C:\.urs_cookies
--auth-no-challenge=on --keep-session-cookies --user=<your username>
--ask-password <url>

Downloading multiple files:

wget --load-cookies C:\.urs_cookies --save-cookies C:\.urs_cookies
--auth-no-challenge=on --keep-session-cookies --user=<your username>
--ask-password -i <url.txt>

More information is available at this link:

Posts: 1
Joined: Mon Feb 26, 2024 8:22 am America/New_York
Answers: 0

Re: Downloading CO2 data from NASA GES DISC

by lukasz.borowski » Mon Feb 26, 2024 8:37 am America/New_York


Is there a code for Python (on Windows) on how to download such files? I tried to follow but I, unfortunately, lost with the requests library.

The file is:

By requests.get() I may log in to "" (status 200) and then what I shall do next?


Post Reply