Re: [Fwd: Re: display of metadata html]



Carl Wolfteich wrote:
Yes it is and I have universal read on it. I just tried shutting down and restarting Tomcat and it apparently is reading the catalog.xml although I am not sure the presentation is correct. With the other version, when accessing the url {tomcat-home}.../content/thredds there was a page where one could choose the html, xml or the validator, etc. The catalogRef element as it stands now is not presentable as an html with links to the dds, das in DODS. Could you take a look at this and let me know if I have to make some changes to the xml files for them to be compatible now with this new version? THanks.


ok it is reading it, i assume you are not getting the error message anymore.

the validator form, etc have links from http://dodsdev.gso.uri.edu:8080/thredds/docs/
I see that I didnt fix the "absolute URL" problem completely in my previous 
version. I just put a new version out that should allow your catrefs to view all the way 
to the DODS access form. try installing that and see how it looks

thanks


Carl


John Caron wrote:

do you have your catalog in

{tomcat-home}/content/thredds/catalog.xml

??

do you have correct read permission on it ?

Carl Wolfteich wrote:

Hi John,

Thanks for your message. I installed the latest war file and tried it but got a fatal error, it can't open the catalog.xml file at

http://dodsdev.gso.uri.edu:8080/thredds/

error message includes:


***Fatal: InvCatalogFactory.readXML failed *

* Exception= java.io.FileNotFoundException http://dodsdev.gso.uri.edu:8080/thredds/catalog.xml
*

*
*

*Is there an obvious problem I am having here? Could it be my version of Tomcat?
thanks
Carl

*

*
*





John Caron wrote:



-------- Original Message --------
Subject: Re: display of metadata html
Date: Wed, 07 Dec 2005 15:13:42 -0700
From: John Caron <caron@xxxxxxxxxxxxxxxx>
To: Carl Wolfteich <carlw@xxxxxxxxxxxxxx>
CC: 'support-thredds' <support-thredds@xxxxxxxxxxxxxxxx>
References: <4394CACB.5070708@xxxxxxxxxxx> <4394CED1.8000801@xxxxxxxxxxxxxxxx> <4394D253.6060700@xxxxxxxxxxxxxx> <4394D54D.50305@xxxxxxxxxxxxxxxx> <43962BC7.80104@xxxxxxxxxxx> <439639D3.8020003@xxxxxxxxxxxxxxxx> <43963C79.5070203@xxxxxxxxxxxxxx>



Carl Wolfteich wrote:

Hi John,

Thanks for getting back to me so late. I changed the URL for the first catalogRef element, JPL054.xml, so at least that one can be looked at and tested. I will see about changing the rest of the urls tomorrow. I used the validator that was included in the version 2 to validate a type example of the original catalog and then built the others around the same example. It seemed to work well, the links worked and the html display was good so I felt it was working okay. But it seems that I should subject it to a more rigorous validation to flush out these bugs. Would it make any difference at this point, at least for the short term, to use version 3.2 instead or would the results be the same as what I am experiencing with v3.3? THanks again and I guess we will be in touch tomorrow.





ok, ive fixed a couple of bugs on my end:

1. should be able to show your catrefs as html now
2. fix bug not alowing validation messages

you will need the latest 3.3 war at:

ftp://ftp.unidata.ucar.edu/pub/thredds/3.3/thredds.war

there are various problems with your catalog, but it should no longer fail to show.
you should check the validator, you can use motherlode:

http://motherlode.ucar.edu:8080/thredds/validateForm.html

and once you've installed the new war file, the same service will be on your machine

one problem i see you have is:

  <metadata>
    <property name="Time units" value="seconds since 1970-1-1 0:0:0"/>
  </metadata>

  <timeCoverage>
    <start>554774409</start>
    <end>554856152</end>
  </timeCoverage>

you should use:

  <timeCoverage>
    <start>554774409 seconds since 1970-1-1 0:0:0</start>
    <end>554856152 seconds since 1970-1-1 0:0:0</end>
  </timeCoverage>

also its standard to start each xml with:

<?xml version="1.0" encoding="UTF-8"?>

though im not sure if it matters





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