xarray_conversion module

HSTB.kluster.xarray_conversion Module

Functions

batch_read_configure_options()

Generate the parameters that drive the data conversion.

build_xyzrph(settdict, runtime_settdict, ...)

Translate the raw settings dictionary from the multibeam file (see sequential_read_records) into a dictionary of timestamped entries for each sensor offset/angle.

determine_good_chunksize(fil[, ...])

With given file, determine the best size of the chunk to read from it, given a minimum chunksize and a max number of chunks.

gather_dataset_attributes(dataset)

Return the attributes within an Xarray DataSet

get_nearest_runtime(timestamp, runtime_settdict)

Both installation parameters and runtime parameters have timestamped entries of values.

return_chunked_fil(fil[, startoffset, chunksize])

With given file, determine the best size of the chunk to read from it, given a minimum chunksize and a max number of chunks.

return_xyzrph_from_mbes(mbesfil[, logger])

Currently being used to load Vessel View with the first installation parameters from a multibeam file.

return_xyzrph_from_posmv(posfile)

Translate the MSG20 message in the POS File to xyzrph like sensor names.

simplify_soundvelocity_profile(profile)

Kluster currently has a memory issue when sound velocity correcting with very large cast tables.

sort_and_drop_duplicates(dset, dsetpath)

Check for duplicates and sort if necessary.

Classes

BatchRead([filfolder, dest, address, ...])

BatchRead - multibeam data converter using dask infrastructure and xarray data types Pass in multibeam files, call read(), and gain access to xarray Datasets for each data type

Class Inheritance Diagram

digraph inheritance8575240f2d { bgcolor=transparent; rankdir=LR; size="8.0, 12.0"; "BaseBackend" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled"]; "BatchRead" [URL="../api/HSTB.kluster.xarray_conversion.BatchRead.html#HSTB.kluster.xarray_conversion.BatchRead",fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",target="_top",tooltip="BatchRead - multibeam data converter using dask infrastructure and xarray data types"]; "ZarrBackend" -> "BatchRead" [arrowsize=0.5,style="setlinewidth(0.5)"]; "ZarrBackend" [fillcolor=white,fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5),filled",tooltip="Backend for writing data to disk, used with fqpr_generation.Fqpr and xarray_conversion.BatchRead."]; "BaseBackend" -> "ZarrBackend" [arrowsize=0.5,style="setlinewidth(0.5)"]; }