Download data

31 views
Skip to first unread message

dani...@gmail.com

unread,
May 31, 2026, 10:46:12 AM (5 days ago) May 31
to fo...@hycom.org

 

 

Dear colleagues,

I would like to download the ESPC-D-V02: Global 1/12° Analysis dataset in an automated way, without any spatial resampling, and preferably one file at a time.

 

However, I have not been able to find any script, API example, or documented method that allows this type of download workflow in Linux.

 

Could anyone please advise on the recommended approach for automating downloads of this dataset? Any example scripts, documentation, or guidance would be greatly appreciated.

 

Thank you very much for your help.

 

Best regards,

 

Daniel Constantino Zacharias

 

Alan Wallcraft

unread,
May 31, 2026, 1:11:01 PM (5 days ago) May 31
to HYCOM.org Forum, dani...@gmail.com
lftp can do this, either from the command line or as a ftp client.

For example:

lftp -e "mirror /datasets/force/ncep_cfsr/netcdf .; quit" ftp.hycom.org

Alan.

dani...@gmail.com

unread,
Jun 1, 2026, 11:09:01 AM (4 days ago) Jun 1
to Alan Wallcraft, HYCOM.org Forum

I did this: 

 

lftp ftp://ftp.hycom.org << EOF

mirror --include-glob "*t0000_u3z.nc" datasets/ESPC-D-V02/data/archive/2024  .

bye

EOF

 

 

And worked!!!!

 

Thanks

 

Daniel

Michael McDonald

unread,
Jun 1, 2026, 11:16:42 AM (4 days ago) Jun 1
to dani...@gmail.com, Alan Wallcraft, HYCOM.org Forum
Daniel,
You can also use rsync to replicate/update data from the server to your devices.


e.g.,
rsync -av --progress rsync.hycom.org::datasets/ESPC-D-V02/data/archive/2024/*000_u3z.nc . -n




--
--
You received this message because you are a member of HYCOM.org
To ask a question, send an email to fo...@hycom.org



--
Michael McDonald
HYCOM.org Administrator

dani...@gmail.com

unread,
Jun 3, 2026, 11:21:32 AM (2 days ago) Jun 3
to Michael McDonald, Alan Wallcraft, HYCOM.org Forum

 

Even better

 

Thank you,

 

Regards

 

Daniel

Reply all
Reply to author
Forward
0 new messages