I am trying to download MERRA2 data with GES DISC and wget (on Windows). After receiving the download links (see subset1.pdf attached) I run
e:\wget_cookies>e:\wget\wget --load-cookies e:\wget\.urs_cookies --save-cookies wget\.urs_cookies --auth-no-challenge=on --keep-session-cookies --user=linkerr --ask-password -i subset1.txt
After inputting my password, the first file (MERRA2.README.pdf) downloads correctly but then I start getting messages that the filename is too long (see subset1_log.pdf attached). Something is eventually downloaded but the file name is truncated, the file name is without extension, I have no idea if the information in the file is correct and complete or how to read this file! Any help will be greatly appreciated!
Raphael
MERRA2 wget download name too long
MERRA2 wget download name too long
- Attachments
-
- subset1_log.pdf
- wget echo
- (72.06 KiB) Downloaded 23 times
-
- subset1.pdf
- download links
- (54.22 KiB) Downloaded 21 times
Tags:
-
- User Services
- Posts: 108
- Joined: Wed Sep 25, 2019 9:35 am America/New_York
- Been thanked: 1 time
Re: MERRA2 wget download name too long
To fix file name problem add '--content-disposition' option to wget command.
Also, according to error log, file wget/.urs_cookies cannot be found.
Please review instructions at https://disc.gsfc.nasa.gov/data-access#windows_wget, create .urs_cookies file and provide correct path to it to wget command.
Also, according to error log, file wget/.urs_cookies cannot be found.
Please review instructions at https://disc.gsfc.nasa.gov/data-access#windows_wget, create .urs_cookies file and provide correct path to it to wget command.