[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [IDV #RJZ-602723]: error with grib file on RAMADDA



Hi Jeff,

I don't think the GribIndexing element is used anymore. What version of the TDS are you grabbing stuff from? If 4.3, you may be looking for:

For the CDM cache:

<DiskCache>
    <alwaysUse>false</alwaysUse>
    <dir>/temp/cache/</dir>
    <scour>1 hour</scour>
    <maxSize>10 Gb</maxSize>
</DiskCache>

http://www.unidata.ucar.edu/software/thredds/current/tds/tds4.3/reference/ThreddsConfigXMLFile.html#DiskCache

or, specifically for GRIB:

<GribIndex>
   <alwaysUse>false</alwaysUse>
   <dir>/tomcat_home/content/thredds/cache/grib/</dir>
   <policy>oneDirectory</policy>
   <scour>0 hours</scour>
   <maxAge>90 days</maxAge>
</GribIndex>

http://www.unidata.ucar.edu/software/thredds/current/tds/tds4.3/reference/ThreddsConfigXMLFile.html#GribIndexWriting

Cheers!

Sean


On 3/9/14, 7:05 PM, Jeff McWhirter wrote:




    Jeff, it would be useful if there could be an option in the
    repository.properties config file for the user to be able to set the
    location of the tds cache location, rather than trying to define a
    set place in the threddsConfig.xml. The IDV sets the location in
    DataManager; is there a similar central manager in RAMADDA where
    this can be done? I can take a look at this tomorrow.


Thanks for tracking this down Sean. What is the setting in the
threddsConfig for the grib. I have:
<GribIndexing>
     <setExtendIndex>false</setExtendIndex>
     <alwaysUseCache>false</alwaysUseCache>
   </GribIndexing>

-Jeff