Can't download GPM IMERG files in Windows 11 using wget

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
ivanlv
Posts: 1
Joined: Mon Mar 13, 2023 6:53 am America/New_York
Answers: 0

Re: Can't download GPM IMERG files in Windows 11 using wget

by ivanlv » Mon Mar 13, 2023 6:58 am America/New_York

Same issue here but with widows 8
I can also download the link proposed, but same error regarding the GPM download. However, a few months ago I could do it, and now with exactly the same command but a new .txt of links, I cannot.
Any solution yet?
Thanks

Tags:

jared_kodero
Posts: 2
Joined: Sun Sep 10, 2023 8:43 am America/New_York
Answers: 0

Re: Can't download GPM IMERG files in Windows 11 using wget

by jared_kodero » Sun Sep 10, 2023 8:58 am America/New_York

This is what worked for me:
1. Install GnuWin32.Make
Open a command prompt or terminal and run the following command:
winget install -e --id GnuWin32.Make

2. Click on the following link to download wget:
https://eternallybored.org/misc/wget/1.21.4/64/wget.exe

3. Move the wget Executable
Once downloaded, move the wget.exe file to the following directory:
C:\Program Files (x86)\GnuWin32\bin
4. Update System PATH
Ensure that the directory C:\Program Files (x86)\GnuWin32\bin is added to your system's PATH variable. If it's not, add it manually.

5. Install Git and Git Bash; allows you to use common bash and Linux commands on windows
Download and install Git. https://git-scm.com/downloads

During the installation process, select the option to add Git Bash to the Windows terminal.

6. Restart Your PC
To ensure all changes take effect, restart your computer.

7. Launch Git Bash
After restarting, open the Windows terminal. From the dropdown menu, select bash.

8. Download data
In the Git Bash terminal, run the following command, replacing <username> with your actual username and <url.txt> with your desired URL:

wget --load-cookies ~/.urs_cookies --save-cookies ~/.urs_cookies --keep-session-cookies --user=<username> --ask-password --content-disposition -i <url.txt>
Note: The command will prompt you to enter your password due to the --ask-password flag.
Last edited by jared_kodero on Sun Sep 10, 2023 9:42 am America/New_York, edited 1 time in total.

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: Can't download GPM IMERG files in Windows 11 using wget

by GES DISC - jimacker » Mon Sep 11, 2023 10:54 am America/New_York

Thank you for providing this detailed description.

Post Reply