Hello,
I was trying to download surface run-off data, GLDAS. I am new to command-line operations in windows and couldn't figure out the display error.
I am pasting the command and error below, please help. Thanks in advance.
PS C:\Users\Documents> wget -load-cookies C:\Users\Documents\.urs_cookies --save-cookies C:\Users\Documents\.urs_cookies --auth-no-challenge=on --keep-session-cookies --user=<my username> --ask-password https://hydro1.gesdisc.eosdis.nasa.gov/daacbin/OTF/HTTP_services.cgiFILENAME=%2Fdata%2FGLDAS%2FGLDAS_NOAH025_M.2.1%2F2000%2FGLDAS_NOAH025_M.A200001.021.nc4"&"BBOX=50.15%2C11.426%2C59.554%2C1.934"&"SERVICE=L34RS_LDAS"&"FORMAT=dGlmLw"&"VERSION=1.02"&"LABEL=GLDAS_NOAH025_M.A200001.021.nc4.SUB.tif"&"SHORTNAME=GLDAS_NOAH025_M"&"VARIABLES=Qs_acc"&"DATASET_VERSION=2.1
Invoke-WebRequest : A parameter cannot be found that matches parameter name 'load-cookies'.
At line:1 char:6
+ wget -load-cookies C:\Users\Documents\.urs_cookies --save-cook ...
+ ~~~~~~~~~~~~~
+ CategoryInfo : InvalidArgument: (:) [Invoke-WebRequest], ParameterBindingException
+ FullyQualifiedErrorId : NamedParameterNotFound,Microsoft.PowerShell.Commands.InvokeWebRequestCommand
Data Download
-
- User Services
- Posts: 278
- Joined: Mon Sep 30, 2019 1:57 pm America/New_York
- Has thanked: 2 times
- Been thanked: 4 times
-
- User Services
- Posts: 278
- Joined: Mon Sep 30, 2019 1:57 pm America/New_York
- Has thanked: 2 times
- Been thanked: 4 times
Re: Data Download
Please examine the information at this link to determine if it addresses your data download problem:
https://disc.gsfc.nasa.gov/information/howto?keywords=wget&title=How%20To%20resolve%20data%20download%20problems
https://disc.gsfc.nasa.gov/information/howto?keywords=wget&title=How%20To%20resolve%20data%20download%20problems