Re: DODS AS

Hi Joe:

It looks like the main problem is that you want to use "JoinExisting" on the variable time, rather than "JoinNew", so:

<aggregation aggType="JoinExisting" serviceName="NAVO" varName="time">
 <fileAccess urlPath="mcsst_k10_20030806.nc"/>
  ...

the coord values are taken from the existing time variable, so you wont need the coord attribute; also i removed the serviceName, since they all come from the same service, which can be specified in the aggregation element.

There may also be a bug with the "null" attribute for JoinNew, which I will check. However, I think the above will solve your problem. let me know if it does.

Also, I think we still need to upgrade the AS war file in order to do some NcML based buoy data, yes? I will try to get a new AS made today that you can start using for that purpose...

Joe McLean wrote:

Hi Roland,
(John, this will better explain the problem I sent to you in 28AUG 17:13 email)

Here is what is going on.  In composing this I narrowed the problem down to the 
DAS
output.


The two cdl outputs from dncdump -h show the problem.
Both servers use copies of the same AggServerCatalog.xml

The first one is good, it comes from the server which you set up.
I copied all of your files and put them on stout at
/usr/local/www/html/tomcat/webapps/dodsC/
the Aggregation Server creates the axis  time1 and gives it units.

The second cdl output is from the aggregation server on stout at
/usr/local/www/html/TOMCAT_DEMO/las/las_servlet/jakarta/webapps/dodsC/
time1 has no units, and Ferret gets no time information.

The problem must lie in the difference between the two .das outputs
good:
-----------------------
[...]
  DODS_EXTRA {
       String Unlimited_Dimension "time";
   }
   time1 {
       String units "secs since 1970-01-01 00:00:00";
   }
-----------------------
bad:
-----------------------
[...]
   DODS_EXTRA {
       String Unlimited_Dimension "time";
   }
   null {
       String units "secs since 1970-01-01 00:00:00";
   }
}
-----------------------
---------------------------------
dncdump -h http://stout.pmel.noaa.gov:9393/dodsC/navo/mcsst/water_surf_temp

netcdf water_surf_temp {
dimensions:
       time1 = 24 ;
       time = UNLIMITED ; // (1 currently)
       lat = 1501 ;
       lon = 3600 ;
variables:
       double time1(time1) ;
               time1:units = "secs since 1970-01-01 00:00:00" ;
       double lat(lat) ;
               lat:long_name = "Latitude" ;
               lat:units = "degrees_north" ;
               lat:NAVO_code = 1 ;
       double lon(lon) ;
               lon:long_name = "Longitude" ;
               lon:units = "degrees_east" ;
               lon:NAVO_code = 2 ;
       double time(time) ;
               time:long_name = "Valid Time" ;
               time:units = "hour since 2003-08-06 00:00:00" ;
               time:time_origin = "2003-08-06 00:00:00" ;
               time:NAVO_code = 13 ;
       float water_surf_temp(time1, time, lat, lon) ;
               water_surf_temp:long_name = "Water Surface Temperature" ;
               water_surf_temp:units = "degC" ;
               water_surf_temp:NAVO_code = 14 ;
               water_surf_temp:_FillValue = -80.f ;
-------------------------------------------------------------
dncdump -h http://stout.pmel.noaa.gov:8180/dodsC/navo/mcsst/water_surf_temp

netcdf water_surf_temp {
dimensions:
       time1 = 24 ;
       time = UNLIMITED ; // (1 currently)
       lat = 1501 ;
       lon = 3600 ;
variables:
       double time1(time1) ;
       double lat(lat) ;
               lat:long_name = "Latitude" ;
               lat:units = "degrees_north" ;
               lat:NAVO_code = 1 ;
       double lon(lon) ;
               lon:long_name = "Longitude" ;
               lon:units = "degrees_east" ;
               lon:NAVO_code = 2 ;
       double time(time) ;
               time:long_name = "Valid Time" ;
               time:units = "hour since 2003-08-06 00:00:00" ;
               time:time_origin = "2003-08-06 00:00:00" ;
               time:NAVO_code = 13 ;
       float water_surf_temp(time1, time, lat, lon) ;
               water_surf_temp:long_name = "Water Surface Temperature" ;
               water_surf_temp:units = "degC" ;
               water_surf_temp:NAVO_code = 14 ;
               water_surf_temp:_FillValue = -80.f ;
[...]
--------------------------------------------------


Joe




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