<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi Ric,<br>
<br>
I was not sure what NetCDF was.<br>
<br>
<a class="moz-txt-link-freetext" href="https://en.wikipedia.org/wiki/NetCDF">https://en.wikipedia.org/wiki/NetCDF</a> says:<br>
<blockquote type="cite">NetCDF (Network Common Data Form) is a set
of software libraries and self-describing, machine-independent
data formats that support the creation, access, and sharing of
array-oriented scientific data. The project homepage is hosted by
the Unidata program at the University Corporation for Atmospheric
Research (UCAR).</blockquote>
Searching the net for "netcdf Kepler" indicates that Kepler has some
NetCDF actors in actors/src/org/kepler/data/netcdf<br>
<br>
That directory contains a NetCDFReader actor and a NetCDFWriter
actor. When I start up the devel version of Kepler and search for
NetCDF, these two actors are found.<br>
<br>
It looks like the reader needs to know the values to be read and
ports are created. We did something similar with the JSON actors in
Ptolemy, but we ended up generating RecordTokens on the output of
the reader. We also needed to do quite a bit of work with the type
system to get the JSON actors to work.<br>
<br>
To plot the data, one would use the NetCDFReader actor and update
the filename and constraints parameters. Apparently, constraints
takes "Space-separated list of variables and constraints.
constraints are start:end:stride". I have no idea what that means.<br>
<br>
The outputs of the NetCDFReader would be connected to a plotter.<br>
<br>
I don't know of an example or tutorial that uses these two actors.<br>
<br>
Maybe someone else has more info.<br>
<br>
_Christopher<br>
<br>
<br>
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
<div class="moz-cite-prefix">On 9/16/12 4:57 PM,
<a class="moz-txt-link-abbreviated" href="mailto:Ricardo.Pascual@csiro.au">Ricardo.Pascual@csiro.au</a> wrote:<br>
</div>
<blockquote
cite="mid:3BA9AAF8AEF5E4448B2581E3CAB5C8A577709943DB@EXNSW-MBX03.nexus.csiro.au"
type="cite">
<meta http-equiv="Content-Type" content="text/html;
charset=ISO-8859-1">
<meta name="Generator" content="Microsoft Word 12 (filtered
medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
{mso-style-priority:34;
margin-top:0cm;
margin-right:0cm;
margin-bottom:0cm;
margin-left:36.0pt;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
/* List Definitions */
@list l0
{mso-list-id:1431779123;
mso-list-type:hybrid;
mso-list-template-ids:786871910 201916431 201916441 201916443 201916431 201916441 201916443 201916431 201916441 201916443;}
@list l0:level1
{mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-18.0pt;}
ol
{margin-bottom:0cm;}
ul
{margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
<div class="WordSection1">
<p class="MsoNormal">Hi All,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I am new to Kepler. And wondering if you
can help in the following question.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoListParagraph"
style="text-indent:-18.0pt;mso-list:l0 level1 lfo1"><!--[if !supportLists]--><span
style="mso-list:Ignore">1.<span style="font:7.0pt
"Times New Roman""> </span></span><!--[endif]-->Does
Kepler have a built-in actor for NetCDF files?<o:p></o:p></p>
<p class="MsoListParagraph"
style="text-indent:-18.0pt;mso-list:l0 level1 lfo1"><!--[if !supportLists]--><span
style="mso-list:Ignore">2.<span style="font:7.0pt
"Times New Roman""> </span></span><!--[endif]-->Does
it have built-in actor for plotting NetCDF file?<o:p></o:p></p>
<p class="MsoListParagraph"
style="text-indent:-18.0pt;mso-list:l0 level1 lfo1"><!--[if !supportLists]--><span
style="mso-list:Ignore">3.<span style="font:7.0pt
"Times New Roman""> </span></span><!--[endif]-->Has
any used NetCDF file in Kepler, and can you please show some
tutorial on how you used NetCDF in Kepler.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Ric Pascual<o:p></o:p></p>
<p class="MsoNormal">CSIRO Australia<o:p></o:p></p>
</div>
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
Kepler-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Kepler-users@kepler-project.org">Kepler-users@kepler-project.org</a>
<a class="moz-txt-link-freetext" href="http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users">http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users</a>
</pre>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
Christopher Brooks, PMP University of California
CHESS Executive Director US Mail: 337 Cory Hall
Programmer/Analyst CHESS/Ptolemy/Trust Berkeley, CA 94720-1774
ph: 510.643.9841 (Office: 545Q Cory)
home: (F-Tu) 707.665.0131 cell: 707.332.0670 </pre>
</body>
</html>