Re: [thredds] GRIB indexing

Hi Roy,

It looks like the default threddsConfig.xml file is using an old element to
control grib indexes. Rather than GribIndexing, it should be called
GribIndex. So, like this:

<GribIndex>
    <setExtendIndex>false</setExtendIndex>
    <alwaysUseCache>true</alwaysUseCache>
    <policy>nestedDirectory</policy>
    <dir>/usr/local/tomcat/content/tdm/cache/grib/</dir>
</GribIndex>

It was called GribIndexing back in 4.3, but has changed to GribIndex since
the introduction of the TDM.

https://github.com/Unidata/thredds/pull/984/files

I apologize for these issues.

Sean


On Tue, Dec 19, 2017 at 9:40 AM, Roy Mendelssohn - NOAA Federal <
roy.mendelssohn@xxxxxxxx> wrote:

> Hi All:
>
> I am just having all sorts of problems getting TDM to work with TDS.  I am
> using the latest release version of each.  If the TDM is run as a separate
> user,  say, tdm,, then there are all sorts of permission problems accessing
> some things it needs, such as caches,  if the caches are in the default
> locations ($TOMCAT_HOME/content/thedds/cache)
>
> So to try and deal with that,  I changed my threddsConfig.xml to have:
>
>  <GribIndexing>
>     <setExtendIndex>false</setExtendIndex>
>     <alwaysUseCache>true</alwaysUseCache>
>      <policy>nestedDirectory</policy>
>     <dir>/usr/local/tomcat/content/tdm/cache/grib/</dir>
>   </GribIndexing>
>
> Stopped the TDS,  restarted the TDS,  and lo and behold where are the
> caches being updated,  why $TOMCAT_HOME/content/thedds/cache.
>
> So,  any advice greatly appreciated.  There are a lot of issues involved
> in getting TDM to work with the TDS,  I wish they were better fleshed out
> somewhere.
>
> Thanks,
>
> -Roy
>
>
> **********************
> "The contents of this message do not reflect any position of the U.S.
> Government or NOAA."
> **********************
> Roy Mendelssohn
> Supervisory Operations Research Analyst
> NOAA/NMFS
> Environmental Research Division
> Southwest Fisheries Science Center
> ***Note new street address***
> 110 McAllister Way
> Santa Cruz, CA 95060
> Phone: (831)-420-3666
> Fax: (831) 420-3980
> e-mail: Roy.Mendelssohn@xxxxxxxx www: http://www.pfeg.noaa.gov/
>
> "Old age and treachery will overcome youth and skill."
> "From those who have been given much, much will be expected"
> "the arc of the moral universe is long, but it bends toward justice" -MLK
> Jr.
>
> _______________________________________________
> 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/
>
  • 2017 messages navigation, sorted by:
    1. Thread
    2. Subject
    3. Author
    4. Date
    5. ↑ Table Of Contents
  • Search the thredds archives: