Page 2 of 2

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

Posted: Mon Mar 13, 2023 6:58 am America/New_York
by ivanlv
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

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

Posted: Sun Sep 10, 2023 8:58 am America/New_York
by jared_kodero
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.

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

Posted: Mon Sep 11, 2023 10:54 am America/New_York
by GES DISC - jimacker
Thank you for providing this detailed description.