<!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.17095" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=349565321-28022012>Hi Puneet,</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=349565321-28022012></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=349565321-28022012>I tried the variable substitution and it didn't work as 
I don't think&nbsp;PROCESSING is&nbsp;one of the parameters supported. 
</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=349565321-28022012></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=349565321-28022012>I also looked at the link about WCS, but I only want 
WMS. I'm not sure how a tile index would work as I'm only using one file with 
multiple time bands. </SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=349565321-28022012></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=349565321-28022012>Plus, I&nbsp;looked at "Changing map file parameters 
via a form or a URL", but wasn't sure of the syntax to&nbsp;change the band 
number.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=349565321-28022012></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=349565321-28022012>Thanks</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=349565321-28022012></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=349565321-28022012>Kathleen</SPAN></FONT></DIV><BR>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> Puneet Kishor [mailto:punk.kish@gmail.com] 
<BR><B>Sent:</B> Wednesday, 29 February 2012 2:14 AM<BR><B>To:</B> Kathleen 
Hirst<BR><B>Cc:</B> mapserver-users@lists.osgeo.org<BR><B>Subject:</B> Re: 
[mapserver-users] WMS for netcdf [SEC=UNCLASSIFIED]<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV>
<DIV>
<DIV><SPAN class=Apple-style-span 
style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469)">On 
Feb 27, 2012, at 10:29 PM, Kathleen Hirst &lt;<A 
href="mailto:K.Hirst@bom.gov.au">K.Hirst@bom.gov.au</A>&gt; 
wrote:</SPAN><BR></DIV>
<DIV><BR></DIV>
<DIV></DIV>
<BLOCKQUOTE type="cite">
  <DIV>
  <META content="MSHTML 6.00.6000.17095" name=GENERATOR>
  <DIV><FONT face=Arial size=2><SPAN class=263130703-28022012>Dear 
  List,</SPAN></FONT></DIV>
  <DIV><FONT face=Arial size=2><SPAN 
  class=263130703-28022012></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2><SPAN class=263130703-28022012>I have a NetCDF 
  file with contains over 150&nbsp;timesteps. I can create a WMS for each 
  timestep using PROCESSING "BANDS=1", which means I have to define over 150 
  layers. I was hoping to only define the layer once and&nbsp;pass a variable 
  for the time or the band number. </SPAN></FONT></DIV>
  <DIV><FONT face=Arial size=2><SPAN 
  class=263130703-28022012></SPAN></FONT>&nbsp;</DIV>
  <DIV><FONT face=Arial size=2><SPAN class=263130703-28022012>Does anyone have 
  any ideas?</SPAN></FONT></DIV></DIV></BLOCKQUOTE>
<DIV><BR></DIV>
<DIV>Kathleen,</DIV>
<DIV><BR></DIV>
<DIV>I wrote the following reply, and then realized that you may not be asking 
for this. Have you seen&nbsp;<A 
href="http://mapserver.org/ogc/wcs_format.html?">http://mapserver.org/ogc/wcs_format.html?</A></DIV>
<DIV><BR></DIV>
<DIV>For completeness, I will leave my original response as well.</DIV>
<DIV><BR></DIV>
<DIV>----</DIV>
<DIV><BR></DIV>
<DIV><BR></DIV>Kathleen,
<DIV><BR></DIV>
<DIV>Neither have I done this before nor do I know the answer, but I *am* 
interested in how you solve it since I have interest in munging a bunch of 
netCDF data. I am wondering, couldn't you use the standard variable substitution 
as Mapserver supports that for stuff like layer names and class names? Something 
like (do check the exact syntax)</DIV>
<DIV><BR></DIV>
<DIV>PROCESSING "BANDS=%band%"</DIV>
<DIV><BR></DIV>
<DIV>and then past in the band via the query string ?band=1</DIV>
<DIV><BR></DIV><A 
href="http://mapserver.org/mapfile/variable_sub.html">http://mapserver.org/mapfile/variable_sub.html</A>
<DIV><BR><BR>--
<DIV>Puneet Kishor&nbsp;</DIV></DIV></DIV>
<DIV></DIV></DIV></BODY></HTML>