Skip to content

[Rcpp-devel] prospects for NetCDF?

5 messages · Sean Davis, Michael Sumner, Dirk Eddelbuettel

#
I've outlined a wishlist item for a modern Rcpp wrapper for the NetCDF
library:

https://github.com/RConsortium/wishlist/issues/3

I'd appreciate any advice from those with Rcpp expertise and knowledge of
wrapping external libraries.

Does NetCDF look particularly difficult to work with? Or, would it be
reasonably straigtforward, but quite a lot of work?

It's perhaps a bit wishful to expect anyone with those skills to offer to
be involved, but it would be really helpful to at least have some thoughts
- even just "that's crazy hard" or "way too easy", or anything in between.

NetCDF is a general multi-dimensional array format, with metadata and
slice-based index read - in modern forms (v4.0) it's based on HDF5. It's
used for many kinds of data, but sees majority use (probably) in remote
sensing and climate modelling.

Thank you.

Cheers, Mike.
#
Does it need to be NetCDF, or can you settle for HDF5?  There are a couple of HDF5 packages available.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20161216/e00674cb/attachment.html>
#
On Sat, 17 Dec 2016 at 13:34 Sean Davis <seandavi at gmail.com> wrote:

            
I find HDF5 is way too raw, so you're always writing abstractions from
scratch  - but that might be the best way. I haven't seen an HDF5 R package
that was suitable for the range of inputs yet.

Still, if it were a better target I'd like to level-up and make this a
wishlist for HDF5 that was generally applicable, to the NetCDF4 model and
others (libkea comes to mind).

Either way experiences with Rcpp and HDF5 or NetCDF are welcome.

Thanks, Mike.
Dr. Michael Sumner
Software and Database Engineer
Australian Antarctic Division
203 Channel Highway
Kingston Tasmania 7050 Australia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20161217/0eed8d20/attachment.html>
#
On 16 December 2016 at 21:34, Sean Davis wrote:
| Does it need to be NetCDF, or can you settle for HDF5?  There are a couple of
| HDF5 packages available.

Yep.

Also, Rcpp is not that opionated about other libraries.

The net result is "what you make it".  Maybe the discussion about this should
be over at the issue ticket?  In particular, one would need to know what you
want from NetCDF, and what the two existing CRAN packages are not giving you.

Dirk
#
On Sat, 17 Dec 2016 at 14:00 Michael Sumner <mdsumner at gmail.com> wrote:

            
I see rhdf5 2.18.0 has been on Bioconductor since October 2016:
http://bioconductor.org/packages/release/bioc/html/rhdf5.html

This seems to fit the bill for the limitations I had from NetCDF and the
other HDF5 packages.

Thanks, Mike.


Still, if it were a better target I'd like to level-up and make this a
Dr. Michael Sumner
Software and Database Engineer
Australian Antarctic Division
203 Channel Highway
Kingston Tasmania 7050 Australia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20161217/e9d67d9c/attachment.html>