Hi Ric,
I was not sure what NetCDF was.
https://en.wikipedia.org/wiki/NetCDF says:
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).
Searching the net for "netcdf Kepler" indicates that Kepler has some
NetCDF actors in actors/src/org/kepler/data/netcdf
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.
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.
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.
The outputs of the NetCDFReader would be connected to a plotter.
I don't know of an example or tutorial that uses these two actors.
Maybe someone else has more info.
_Christopher
On 9/16/12 4:57 PM, [email protected] wrote:
Hi All,
I am new to Kepler. And wondering if you can help in the following
question.
1.Does Kepler have a built-in actor for NetCDF files?
2.Does it have built-in actor for plotting NetCDF file?
3.Has any used NetCDF file in Kepler, and can you please show some
tutorial on how you used NetCDF in Kepler.
Thanks,
Ric Pascual
CSIRO Australia
_______________________________________________
Kepler-users mailing list
[email protected]
http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users
--
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
_______________________________________________
Kepler-users mailing list
[email protected]
http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users