<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 TRANSITIONAL//EN">
<HTML>
<HEAD>
  <META HTTP-EQUIV="Content-Type" CONTENT="text/html; CHARSET=UTF-8">
  <META NAME="GENERATOR" CONTENT="GtkHTML/3.16.1">
</HEAD>
<BODY>
Hello,<BR>
<BR>
I would like to create Web Coverage Service from one netCDF file in following <A HREF="http://mapserver.gis.umn.edu/docs/howto/WCSServerFormatHowTo">http://mapserver.gis.umn.edu/docs/howto/WCSServerFormatHowTo</A><BR>
<BR>
My netCDF store rainfall matrix every five minutes in the &quot;pluie&quot; variable. This the CDL :<BR>
<BR>
dimensions:
<PRE>
   time = UNLIMITED;   // (496 currently)   // (has coord.var)
   x = 50;   // (has coord.var)
   y = 50;   // (has coord.var)
variables:
   int Lambert_Conformal;
     :grid_mapping_name = &quot;lambert_conformal_conic&quot;;
     :standard_parallel = 43.20317, 44.99683; // double
     :longitude_of_central_meridian = 2.337229; // double
     :latitude_of_projection_origin = 44.1; // double
     :false_easting = 600.0; // double
     :false_northing = 3200.0; // double
     :_CoordinateTransformType = &quot;Projection&quot;;
     :_CoordinateSystems = &quot;ProjectionCoordinateSystem&quot;;
     :_CoordinateAxes = &quot;y x&quot;;
     :_CoordinateAxisTypes = &quot;GeoX GeoY&quot;;
<B>&nbsp;&nbsp; double pluie(time=496, y=50, x=50);</B>
<B>     :units = &quot;mm/h&quot;;</B>
<B>     :long_name = &quot;Intensit&#233; de pluie&quot;;</B>
<B>     :coordinates = &quot;lat lon&quot;;</B>
<B>     :grid_mapping = &quot;Lambert_Conformal&quot;;</B>
<B>&nbsp;&nbsp;&nbsp;&nbsp; :_CoordinateSystems = &quot;ProjectionCoordinateSystem LatLonCoordinateSystem&quot;;</B>
   char LatLonCoordinateSystem;
     :_CoordinateAxes = &quot;time lat lon&quot;;
   char ProjectionCoordinateSystem;
     :_CoordinateAxes = &quot;time y x&quot;;
     :_CoordinateTransforms = &quot;LambertConformalProjection&quot;;
   double time(time=496);
     :long_name = &quot;rainfall time&quot;;
     :standard_name = &quot;time&quot;;
     :units = &quot;seconds since 1970-01-01 01:00:00&quot;;
     :axis = &quot;T&quot;;
     :_CoordinateAxisType = &quot;Time&quot;;
     :bounds = &quot;time_bnds&quot;;
   double x(x=50);
     :units = &quot;km&quot;;
     :long_name = &quot;x coordinate of projection&quot;;
     :standard_name = &quot;projection_x_coordinate&quot;;
     :_CoordinateAxisType = &quot;GeoX&quot;;
   double y(y=50);
     :units = &quot;km&quot;;
     :long_name = &quot;y coordinate of projection&quot;;
     :standard_name = &quot;projection_y_coordinate&quot;;
     :_CoordinateAxisType = &quot;GeoY&quot;;
   double lat(x=50, y=50);
     :units = &quot;degrees_north&quot;;
     :long_name = &quot;latitude coordinate&quot;;
     :standard_name = &quot;latitude&quot;;
     :_CoordinateAxisType = &quot;Lat&quot;;
   double lon(x=50, y=50);
     :units = &quot;degrees_east&quot;;
     :long_name = &quot;longitude&quot;;
     :standard_name = &quot;longitude coordinate&quot;;
     :_CoordinateAxisType = &quot;Lon&quot;;

 :Zone_Radar = &quot;Gard-Ceze Amont&quot;;
 :history = &quot;Tuesday 19 February 2008, 00:00&quot;;
 :Projection_cartographique = &quot;Lambert III&quot;;
 :X0 = 700.7; // double
 :Y0 = 3189.1; // double
 :Conventions = &quot;CF-1.0&quot;;
}
</PRE>
<BR>
The HowTo of Mapserver Website seems adapt to a set of netcdf files but not for one netCDF file including several bands corresponding to each time step.<BR>
When I use :<BR>
<B>gdal_translate -ot Float64 -of gTiff -b 300 -sds netCDF:&quot;pluie-4-20020908.nc&quot;:pluie test.tif</B><BR>
A tif file is created based on the 300th band of &quot;pluie&quot; variable<BR>
<BR>
When I use :<BR>
<B>gdaltindex test.shp NETCDF:pluie-3-20020908.nc:pluie</B><BR>
A shape file is created but without every band, only a record with the netcdf extent and his name<BR>
<BR>
I suppose i have to create a new record for each time's band of netcdf file in the tileindex after creating with gdaltindex ?!<BR>
<BR>
I would like to use the Python Script of Norman Barker <A HREF="http://www.nabble.com/Map-File-Problem--td5541099.html#a5544967">http://www.nabble.com/Map-File-Problem--td5541099.html#a5544967</A><BR>
<BR>
But it is possible or the only solution is to create a tif file for each band ?<BR>
<BR>
Thanks<BR>
<BR>
Vincent<BR>
<BR>
<BR>
<BR>
</BODY>
</HTML>