NOTICE: This version of the NSF Unidata web site (archive.unidata.ucar.edu) is no longer being updated.
Current content can be found at unidata.ucar.edu.

To learn about what's going on, see About the Archive Site.

Re: [thredds] netCDF file overwritten but not updated in THREDDS

  • To: Giampaolo Cimino <gcimino@xxxxxxxxx>
  • Subject: Re: [thredds] netCDF file overwritten but not updated in THREDDS
  • From: "Signell, Richard" <rsignell@xxxxxxxx>
  • Date: Thu, 9 Jun 2016 07:04:10 -0400
Cimino,

You should be able to define a datasetRoot with cache="false", as
shown in this functioning forecast catalog where the forecast files
are simply overwritten each day with new content:

https://github.com/rsignell-usgs/xml/blob/master/THREDDS/umassd_fvcom/forecasts.xml#L14

-Rich

On Thu, Jun 9, 2016 at 6:48 AM, Giampaolo Cimino <gcimino@xxxxxxxxx> wrote:
> All,
>
>
> i have this datasetScan in my catalog.xml:
>
> <dataset name="mycompany">
>
>
>         <datasetScan name="gliders" ID="gliders" path="gliders"
> location="/opt/ex16/data/gliders"  harvest="true">
>                 <metadata inherited="true">
>                     <serviceName>baseServices</serviceName>
>                     <dataType>Profile</dataType>
>                 </metadata>
>                 <filter>
>                     <include wildcard="*.nc"/>
>                 </filter>
>         </datasetScan>
>
>
> Inside the directory /opt/ex16/data/gliders/ the same files are overwritten
> every 3 hours.
> Apparently THREDDS doesn' t update automatically, that is THREDDS still
> serve the old files instead of the updated version.
>
> Is there any option to force THREDDS to update those files?
>
> Thanks
>
> Giampaolo
>
> _______________________________________________
> NOTE: All exchanges posted to Unidata maintained email lists are
> recorded in the Unidata inquiry tracking system and made publicly
> available through the web.  Users who post to any of the lists we
> maintain are reminded to remove any personal information that they
> do not want to be made public.
>
>
> thredds mailing list
> thredds@xxxxxxxxxxxxxxxx
> For list information or to unsubscribe,  visit:
> http://www.unidata.ucar.edu/mailing_lists/



-- 
Dr. Richard P. Signell   (508) 457-2229
USGS, 384 Woods Hole Rd.
Woods Hole, MA 02543-1598



  • 2016 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the thredds archives: