Due to the current gap in continued funding from the U.S. National Science Foundation (NSF), the NSF Unidata Program Center has temporarily paused most operations. See NSF Unidata Pause in Most Operations for details.
Hi Glenn, Try changing the aggregation's "dimName" value to "time", it needs to match an existing dimension name. Also, the aggregation will create a coordinate variable, i.e. one whose name matches the name of its only dimension, "time(time)". So, to add attributes to the new coordinate variable, you will need to change the name of your new "aggTime" variable to "time". Your NcML below is aggregating a single dataset. Is this just an example but you plan to aggregate multiple files? Or are you trying to add coordinate variables to a single existing dataset? If the latter, it would be better to declare the new "time" variable as you did "aggTime" below and specify the values with a "values" element rather than use an aggregation. Aggregations are much heavier weight than an NcML dataset that simply modifies an existing dataset. Hope that helps, Ethan On 1/10/2012 8:01 AM, Comiskey, Glenn wrote: > Hi, > > Dataset info: > dimensions: > time = UNLIMITED; // (73 currently) > s_rho = 32; > eta_rho = 242; > xi_u = 289; > eta_v = 241; > xi_rho = 290; > variables: > float u(time=73, s_rho=32, eta_rho=242, xi_u=289); > float v(time=73, s_rho=32, eta_v=241, xi_rho=290); > Note: No coordinate variables are declared. > > NcML aggregation: > <netcdf xmlns="http://www.unidata.ucar.edu/namespaces/netcdf/ncml-2.2"> > <variable name="aggtime"> > <attribute name="units" value="hours since 2010-12-08T08:00:00Z"/> > <attribute name="_CoordinateAxisType" value="Time"/> > </variable> > <aggregation dimName="aggtime" type="joinExisting"> > <netcdf location="C:/aroms/fsct_malaysia_2010122708_2010123008.nc" > coordValue="0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 > 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 > 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 > 71 72"/> > </aggregation> > </netcdf> > > threddsServlet.log: > 2012-01-10T14:51:08.323 +0000 [ 22812][ 14] INFO - > thredds.server.opendap.OpendapServlet - doGet(): Remote host: 127.0.0.1 > - Request: "GET /thredds/dodsC/roms2/roms2.nc.html HTTP/1.1" > 2012-01-10T14:51:08.340 +0000 [ 22829][ 14] INFO - > thredds.server.opendap.OpendapServlet - Request Completed - 404 - -1 - 17 > > Can anyone explain why I get the HTTP 404 error. > > Kind regards, > > Glenn Comiskey > Data System Administrator > > > _______________________________________________ > thredds mailing list > thredds@xxxxxxxxxxxxxxxx > For list information or to unsubscribe, visit: > http://www.unidata.ucar.edu/mailing_lists/ -- Ethan Davis UCAR Unidata Program edavis@xxxxxxxxxxxxxxxx http://www.unidata.ucar.edu
thredds
archives: