I would imagine that first, we need improved multi-dimensional arrays.
I've been imagining an updated version of Blitz++.
See here for the C++ framework I've written. The good thing about it is,
you just have to write things once, not 3 times (once each for define,
write and read).
https://github.com/citibeth/ibmisc/blob/develop/slib/ibmisc/netcdf.hpp
I also would recommend replacing the existing C++ API. It's better than
the old one, but still clunky and could be a lot better. Especially with
modern templating.
On Mon, Feb 24, 2020 at 6:27 PM Chris Barker via netcdfgroup <
netcdfgroup@xxxxxxxxxxxxxxxx> wrote:
> On Mon, Feb 24, 2020 at 11:43 AM John Buonagurio <jbuonagurio@xxxxxxxxxxxx>
> wrote:
>
>> I am working on a new high-level C++ interface for netCDF-C
>
> ...
>
>> the goal is to provide an interface similar to xarray in Python,
>>
>
> Sounds interesting. ONe suggestion:
>
> It's a subtle distinction, but rather than a "interface to netcdf",
> considering building a library for working with data that conforms to the
> netcdf data model, that has netcdf-C as one back-end.
>
> This is how xarray is built, and it opens the door to other file formats,
> like zarr, or even grib, etc.
>
> Note how xarray describes itself:
>
> http://xarray.pydata.org/en/stable/
>
> "
> xarray ... makes working with labelled multi-dimensional arrays simple,
> efficient, and fun!
> ...
> includes a large and growing library of domain-agnostic functions for
> advanced analytics and visualization with these data structures.
> ...
> It is particularly tailored to working with netCDF files, which were the
> source of xarray’s data model
> "
>
> -CHB
>
> --
>
> Christopher Barker, Ph.D.
> Oceanographer
>
> Emergency Response Division
> NOAA/NOS/OR&R (206) 526-6959 voice
> 7600 Sand Point Way NE (206) 526-6329 fax
> Seattle, WA 98115 (206) 526-6317 main reception
>
> Chris.Barker@xxxxxxxx
> _______________________________________________
> NOTE: All exchanges posted to Unidata maintained email lists are
> recorded in the Unidata inquiry tracking system and made publicly
> available through the web. Users who post to any of the lists we
> maintain are reminded to remove any personal information that they
> do not want to be made public.
>
>
> netcdfgroup mailing list
> netcdfgroup@xxxxxxxxxxxxxxxx
> For list information or to unsubscribe, visit:
> https://www.unidata.ucar.edu/mailing_lists/
>