You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the new class-redesign branch, the SetGroup* classes and functionality perform two related but distinct functions: create the xarray dataset for each nc4 group, and save it to file (nc or zarr). Separating those functions would provide more flexibility to power users, without impacting regular users who use Convert followed by the new to_netcdf and to_zarr methods to write to files.
I was going to implement this yesterday but thought of a possible issue: in the case when a Dataset is large, by returning the Dataset itself as output from all SetGroup*.set_* methods and save them all into file in, say, a save_all method, it seems that we would be keeping the large Datasets around until saving them. Obviously one way to circumvent this to not have the save_all method but create (using set_*) --> save to file --> destroy the Dataset object.
The majority of data sits in the Beam group that holds the backscatter data. The file size is something the users can choose. The largest file I've seen so far is ~300 MB from EK80.
In the new class-redesign branch, the
SetGroup*
classes and functionality perform two related but distinct functions: create the xarray dataset for each nc4 group, and save it to file (nc or zarr). Separating those functions would provide more flexibility to power users, without impacting regular users who useConvert
followed by the newto_netcdf
andto_zarr
methods to write to files.See #225 for more discussions on this.
The text was updated successfully, but these errors were encountered: