I would like to synchonize some netcdf files available from
a THREDDS Data Server with a local repository.
I have used the wget command and HTTPServer access from
the TDS but it seems that the server does not provide enough
or correct informations to use properly the --timestamp option
of wget (very useful to synchronize).
The method works for an old OPeNDAP server but not with 2 different
Thredds Data Servers
$ wget -N http://dods.ipsl.jussieu.fr/brocksce/tmp/tyty.txt
If you retry you get the message
----> Server file no newer than local file `tyty.txt' -- not retrieving.
if the 2 files (input and local) are not the same from date or size, the
download is done again.
If you modify the file by adding a character, you get
----> The sizes do not match (local 43) -- retrieving.
If you apply a touch -t 201106230000 on the file to see what happens
----> Remote file is newer, retrieving.
I would like to get the same feature (synchro on date and size) when I
download from a TDS/HTTPServer.
Any help welcome on this synchronization.
LSCE/IPSL, Laboratoire CEA-CNRS-UVSQ
Data Analysis and Visualization Engineer
ICMC - IPSL Climate Modelling Centre