well-id / dliswriter Goto Github PK
View Code? Open in Web Editor NEWAn open-source Python package for writing DLIS files.
Home Page: https://well-id-widcdliswriter.readthedocs-hosted.com/index.html
License: MIT License
An open-source Python package for writing DLIS files.
Home Page: https://well-id-widcdliswriter.readthedocs-hosted.com/index.html
License: MIT License
Use line profiling to speed up code execution.
Consider different sizes and shapes (number of rows vs number of columns) of the datasets.
Each EFLRSet
has a set name.
Test that different EFLRSet
instances of the same type (e.g. ChannelSet
) can be correctly added to the file if they have differing set names. Check that the child EFLRItem
(e.g. ChannelItem
) instances are added, referenced, and retrieved correctly.
Attribute
time
of PathItem
can be numerical or of datetime
type. For now, only the numerical option is accepted.
Add support for datetime
values.
Each EFLRItem
has an attribute copy_number
. It is meant to distinguish between two EFLR items of the same type and name.
The copy_number
is computed automatically at the level of an EFLRItem
by checking how many EFLRItem
instances of the given name are already defined in the parent EFLRSet
and subtracting 1 (so for the first ELFRItem
of the given type and name, copy_number
is 0).
However, this is only checked at the level of the parent EFLRSet
of the given EFLRItem
. In most cases this is sufficient, because normally a single EFLRSet
of a given type is defined in a file, but it is possible to define more (see this issue). In case multiple EFLRSet
s are added to the same file, it is likely that multiple EFLRItem
instances will share the same type, name, and copy_number
, making them indistinguishable in DLIS references. As a result, references might point to the wrong items (resulting i.e. in a FrameItem
displaying the wrong channel data).
When writing a file, data are loaded in chunks and the output bytes are saved in chunks.
The sizes of input and output chunks cna be specified by the user.
Size of an input chunk is currently expressed in the number of rows from a dataset.
Size of an output chunk is expressed in the number of bytes.
Both should be optimized for different shapes of datasets - combinations of different lengths (numbers of rows) and widths (number of columns, number of images, number of columns in images).
Whenever a Path
object is added to the file, DeepView refuses to open it.
Sometimes issues appear also in dlisio
.
Note that in RP66, Path
is similar to frame and should probably be treated as such.
Several attributes of PathItem
(borehole_depth
, vertical_depth
, etc.; check RP66 docs) can be either (arrays of) numbers or ChannelItem
instances. Now only the numerical version is supported.
Add support for ChannelItem
instances being used as values of these attributes.
Marking as 'enhancement' because it's not critical and as 'bug' because this should be accepted according to the standard.
When writing the file, data are loaded in chunks,
The size of those chunks is currently specified (by the user) as the number of rows of data table loaded at a time.
Consider expressing this in bytes instead.
Test that representation_code
of different Attribute
s is correctly determined from the value.
In particular, check the Attribute
s for which multivalued=True
.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.