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

Re: [THREDDS #PEF-311987]: Struggling with new FMRC specification in TDS 4.2



It looks like the collection cache is messed up, so were going to delete it and start again.

1. stop tomcat.

2. go to the collectionCache directory at

/tomcat_home/content/thredds/collectionCache/

(unless youve changed it in threddsConfig.xml

<featureCollection>
<cacheDirectory>/tomcat_home/content/thredds/collectionCache/</cacheDirectory>
</featureCollection>

)

delete everything in that directory

3. also change your update element from

<update startup="true" rescan="0 5 3 * * ? *"/>

to

<update startup="true" rescan="0 5 3 * * ? *" trigger="allow"/>

4. restart tomcat

since we deleted the cache startup will be a little slow.

5. see if it works

6. drink some beer anyway



On 7/23/2010 2:49 PM, Rich Signell wrote:
John,
I downloaded the new WAR file and modified my catalog (attached), and
although when I drill down from
http://geoport-dev.whoi.edu/thredds/COAWST_catalog2.html
I can get to the opendap access form for "Best", when I try to access
data via the Opendap data URL
http://geoport-dev.whoi.edu/thredds/dodsC/coawst2/fmrc/coawst2_best.ncd
  (say, by plotting the 1st level of the 1st time step of temperature
in the toolsUI)
Nothing happens.

-Rich


On Fri, Jul 23, 2010 at 4:01 PM, John Caron<address@hidden> wrote:
On 7/23/2010 5:01 AM, Rich Signell wrote:
John,
Sure enough, if I add the TwoD (why not "2D"? "TwoD" is much more, uh,
"uncommon") it works!

But mostly I'm going to be wanting to do just "Best", no TwoD (or 2D).
  ;-)

-Rich

Ive got a fix for this problem at

ftp://ftp.unidata.ucar.edu/pub/thredds/tmp/signell/thredds.war

you also need to put the NcML inside the protoDataset element:

<catalog xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";

xsi:schemaLocation="http://www.unidata.ucar.edu/namespaces/thredds/InvCatalog/v1.0
http://www.unidata.ucar.edu/schemas/thredds/InvCatalog.1.0.3.xsd";

xmlns="http://www.unidata.ucar.edu/namespaces/thredds/InvCatalog/v1.0";
         xmlns:xlink="http://www.w3.org/1999/xlink";
         name="OPeNDAP Data Server"
         version="1.0.1">
<service name="allServices" serviceType="Compound" base="">
<service name="ncdods" serviceType="OPENDAP" base="/thredds/dodsC/"/>
<service name="ncss" serviceType="NetcdfSubset" base="/thredds/ncss/grid/"/>
<service name="wms" serviceType="WMS" base="/thredds/wms/"/>
</service>
<dataset name="COAWST" ID="coawst">
<metadata inherited="true">
<serviceName>allServices</serviceName>
<authority>gov.usgs.er.whsc</authority>
<dataType>Grid</dataType>
<dataFormat>NetCDF</dataFormat>
<creator>
<name vocabulary="DIF">OM/WHSC/USGS</name>
<contact url="http://www.usgs.gov/"; email="address@hidden"/>
</creator>
<publisher>
<name vocabulary="DIF">OM/WHSC/USGS</name>
<contact url="http://www.usgs.gov/"; email="address@hidden"/>
</publisher>
<documentation
xlink:href="http://woodshole.er.usgs.gov/project-pages/cccp/index.html";
                     xlink:title="Carolinas Coastal Change Program"/>
<documentation xlink:href="http://geoport.whoi.edu:8081/ReadMeCOAWST.html";
                     xlink:title="ReadMe.txt"/>
</metadata>
<dataset name="COAWST Nowcast/Forecast Runs">
<featureCollection name="coawst_2_2" featureType="FMRC" harvest="true"
path="coawst_2_2/fmrc">
<metadata inherited="true">
<documentation type="summary">ROMS Output from Coawst_2_2 starting
1/10/06</documentation>
<serviceName>allServices</serviceName>
</metadata>

<collection
spec="E:/work/signell/featCollections/coawst_us_#yyyyMMdd_HH#.nc$"
                    recheckAfter="15 min" olderThan="5 min"/>

<update startup="true" rescan="0 5 3 * * ? *"/>
<fmrcConfig regularize="true" datasetTypes="Best Files"/>

<protoDataset choice="First">
<netcdf xmlns="http://www.unidata.ucar.edu/namespaces/netcdf/ncml-2.2";>
<variable name="temp">
<attribute name="_FillValue" type="float" value="0.0"/>
</variable>
<variable name="salt">
<attribute name="_FillValue" type="float" value="0.0"/>
</variable>
<variable name="Hwave">
<attribute name="_FillValue" type="float" value="0.0"/>
</variable>
<variable name="zeta">
<attribute name="_FillValue" type="float" value="0.0"/>
</variable>
<variable name="Nbed" shape="Nbed" type="double">
<attribute name="long_name" value="S-coordinate at sedbed-points"/>
<attribute name="standard_name" value="ocean_s_coordinate"/>
<attribute name="formula_terms" value="s: Nbed eta: zeta depth: h a: theta_s
b: theta_b depth_c: hc"/>
<values start="-1.0" increment="-0.1"/>
</variable>
</netcdf>
</protoDataset>

</featureCollection>
</dataset>
</dataset>
</catalog>








NOTE: All email exchanges with Unidata User Support are recorded in the Unidata inquiry tracking system and then made publicly available through the web. If you do not want to have your interactions made available in this way, you must let us know in each email you send to us.