I am running operational ocean model, so I put new netCDF files every day into the folder which is served via opendap TDS and tomcat.
When model is done old files are overwritten with new ones they have the same name(!) but seems that server is not updating/serving new data. If I do ncdump at the system disk file I get one values; than if I use access via opendap the same ncdump I got different, seems to me like it is cached and hold and not refreshed as I would like.
Is there a way to disable caching of the netCDF files via TDS opendap tomcat?
Thanks,
cheers
Ivica
I am running operational ocean model, so I put new netCDF files every day
Share
To make sure that the THREDDS Data Server (TDS) does not cache your data, you can set up a datasetRoot that is not cached. Here’s an actual example we use for an ocean forecast model, where new forecast NetCDF files are simply uploaded to the server every day, using the same names (here NECOFS_GOM2_FORECAST.nc, NECOFS_GOM3_FORECAST.nc, etc.):
There is more information on https://www.unidata.ucar.edu/projects/THREDDS/tech/reference/ThreddsConfigXMLFile.html, where it also says “LOOK the following may not be working” but for sure it works on TDS 4.2.9, because we are using it here: http://www.smast.umassd.edu:8080/thredds/forecasts.html