[kepler-users] netCDF

Daniel Crawl danielcrawl at gmail.com
Mon Sep 17 15:36:49 PDT 2012


Hi Ric,

You can use NetCDFWriter and NetCDFReader for writing and reading
NetCDF files in Kepler. I've attached two workflows that demonstrate
how to use them. You will need to get Kepler from the svn repository
to run these workflows.

There are no plotting actors specifically for NetCDF files, but you
can connect the output of NetCDFReader to one of the plotting actors
as shown in netcdf-reader.xml.

   --dan


On 9/16/12 10:49 PM, Christopher Brooks wrote:
> 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, Ricardo.Pascual at csiro.au 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
>> Kepler-users at kepler-project.org
>> http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users
>
>
>
> _______________________________________________
> Kepler-users mailing list
> Kepler-users at kepler-project.org
> http://lists.nceas.ucsb.edu/kepler/mailman/listinfo/kepler-users
>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: netcdf-reader.xml
Type: text/xml
Size: 49850 bytes
Desc: not available
URL: <http://lists.nceas.ucsb.edu/kepler/pipermail/kepler-users/attachments/20120917/4ac17674/attachment-0002.xml>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: netcdf-writer.xml
Type: text/xml
Size: 46185 bytes
Desc: not available
URL: <http://lists.nceas.ucsb.edu/kepler/pipermail/kepler-users/attachments/20120917/4ac17674/attachment-0003.xml>


More information about the Kepler-users mailing list