Data Download

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
Post Reply
amvish
Posts: 1
Joined: Mon Nov 28, 2022 6:09 am America/New_York
Answers: 0

Data Download

by amvish » Mon Nov 28, 2022 6:15 am America/New_York

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

Tags:

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

Re: Data Download

by GES DISC - jimacker » Mon Nov 28, 2022 4:32 pm America/New_York

We are currently examining your question and will post a response soon.

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

Re: Data Download

by GES DISC - jimacker » Tue Nov 29, 2022 1:46 pm America/New_York

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

Post Reply