<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.6000.16890" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=809403211-04112009><FONT face=Arial size=2>Hi 
Bob,</FONT></SPAN></DIV>
<DIV><SPAN class=809403211-04112009><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=809403211-04112009><FONT face=Arial size=2>We are evaluating 
how best to extract NetCDF metadata on our esg data node to reformulate into 
METAFOR CIM documents.&nbsp; It seems obvious there are 3 possible sources of 
this:</FONT></SPAN></DIV>
<DIV><SPAN class=809403211-04112009><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=809403211-04112009><FONT face=Arial size=2>&nbsp;1. THREDDS 
catalogues generated by esg publisher</FONT></SPAN></DIV>
<DIV><SPAN class=809403211-04112009><FONT face=Arial size=2>&nbsp;2. The 
Postgres database produced by esg publisher</FONT></SPAN></DIV>
<DIV><SPAN class=809403211-04112009><FONT face=Arial size=2>&nbsp;3. The NetCDF 
files themselves</FONT></SPAN></DIV>
<DIV><SPAN class=809403211-04112009><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=809403211-04112009><FONT face=Arial size=2>Looking at the 
THREDDS xml generated on our data node it appears only selected metadata from 
the NetCDF is exposed in the catalogue.&nbsp; I can see variable names, 
standard_names and units with no global metadata.&nbsp; Is that what you 
expect?&nbsp; I attach a catalogue for a small portion of 
CMIP3.</FONT></SPAN></DIV>
<DIV><SPAN class=809403211-04112009><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=809403211-04112009><FONT face=Arial size=2>I'm guessing that 
with a correct configuration in esg.ini more&nbsp;metadata get's put in the 
THREDDS xml but does this come from the NetCDF?&nbsp; Is there a way to 
configure the publisher to put all NetCDF attributes in the THREDDS 
xml?</FONT></SPAN></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><SPAN class=809403211-04112009>Turning to the 
Postgres database it appears to contain all attributes from the NetCDF.&nbsp; On 
my system it also contains lots of Python object references that I assume is a 
bug.&nbsp; For instance:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>esgcet=&gt; select name, value from file_var_attr 
limit 20;<BR>&nbsp;&nbsp;&nbsp;&nbsp; name&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
|&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
value&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
<BR>---------------+------------------------------------------------------------------<BR>&nbsp;axis&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
| Y<BR>&nbsp;bounds&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | 
lat_bnds<BR>&nbsp;getitem&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | &lt;built-in 
method getitem of CdunifVariable object at 
0x19f8150&gt;<BR>&nbsp;getslice&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | &lt;built-in 
method getslice of CdunifVariable object at 
0x19f8150&gt;<BR>&nbsp;long_name&nbsp;&nbsp;&nbsp;&nbsp; | 
latitude<BR>&nbsp;setitem&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | &lt;built-in 
method setitem of CdunifVariable object at 
0x19f8150&gt;<BR>&nbsp;setslice&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | &lt;built-in 
method setslice of CdunifVariable object at 0x19f8150&gt;<BR>&nbsp;standard_name 
| latitude<BR>&nbsp;units&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | 
degrees_north<BR>&nbsp;getitem&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | 
&lt;built-in method getitem of CdunifVariable object at 
0x19f8030&gt;<BR>&nbsp;getslice&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | &lt;built-in 
method getslice of CdunifVariable object at 
0x19f8030&gt;<BR>&nbsp;setitem&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | 
&lt;built-in method setitem of CdunifVariable object at 
0x19f8030&gt;<BR>&nbsp;setslice&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | &lt;built-in 
method setslice of CdunifVariable object at 
0x19f8030&gt;<BR>&nbsp;axis&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
| X<BR>&nbsp;bounds&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | 
lon_bnds<BR>&nbsp;getitem&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | &lt;built-in 
method getitem of CdunifVariable object at 
0x19f8108&gt;<BR>&nbsp;getslice&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | &lt;built-in 
method getslice of CdunifVariable object at 
0x19f8108&gt;<BR>&nbsp;long_name&nbsp;&nbsp;&nbsp;&nbsp; | 
longitude<BR>&nbsp;setitem&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | &lt;built-in 
method setitem of CdunifVariable object at 
0x19f8108&gt;<BR>&nbsp;setslice&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; | &lt;built-in 
method setslice of CdunifVariable object at 0x19f8108&gt;<BR>(20 
rows)<BR></FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV align=left><FONT face=Arial size=2>---</FONT></DIV>
<DIV align=left><FONT face=Arial size=2>Stephen Pascoe&nbsp; +44 (0)1235 
445980</FONT></DIV>
<DIV align=left><FONT face=Arial size=2>British Atmospheric Data 
Centre</FONT></DIV>
<DIV align=left><FONT face=Arial size=2>Rutherford Appleton 
Laboratory</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<br><p>-- 
<BR>Scanned by iCritical.
</p>
<br></BODY></HTML>