Comments (4)
I remember seeing your library before implementing this. I seem to remember that there was a few reasons for starting a new implementation, python3 support, for example. I also had some XTF files that weren't supported by your library, and I was more comfortable with the ctypes interface at the time.
I originally named the library pyxtf3 to disambiguate and had a note in the readme pointing to your repository, but later renamed it once it started getting more use and Python2 became less relevant. Honestly, the XTF format isn't that good, and it looks like Triton has stopped updating (and hosting) the specification. Hopefully a better manufacturer-agnostic format can replace XTF at some point.
I think your suggestion about the note in your repository is good, and there is some plotting/gui code that may be helpful for someone. I want to keep this repository strictly for file I/O.
from pyxtf.
Creating a new library makes total sense! The ctypes
approach is very interesting, I didn't know it was possible (or perhaps some of the relevant ctypes
features were not yet available in 2013).
Plotting and gui are the reasons for not archiving my repo yet. I'll think about renaming the repo...
Yes, the lack of good universal format was actually one of the reasons I didn't add support for more outputs. If felt stupid Implementing direct a<->x, a<->y, a<->z conversions. Too many combinations.
It would indeed be cool to attempt designing a nice intermediary format. Probably based on Avro, with a lot of thinking about what kinds of fields to support and would they should mean. Have you looked at other side-scan related projects like MB-System? Perhaps they have thought about a common file format?
from pyxtf.
I saw that you have at least three "equal" projects.
Well, is there no way to hunt the best of each and make one? :}. I'm trying to install mb-system, but it seems very difficult.
Here are all formats (https://www3.mbari.org/data/mbsystem/html/mbsystem_formats.html#:~:text=MB%2DSystem%20Supported%20Data%20Formats&text=Hydrosweep%20DS2%20multibeam%20sonar,Hydrosweep % 20MD% 20multibeam% 20sonar & text = Simrad% 20EM12% 2C% 20EM121% 2C% 20EM950% 2C% 20and% 20EM1000% 20multibeam% 20sonars), I looked quickly and it seems to me that the only non-owner is XTF, well, really a shame that no longer supported you.
from pyxtf.
Haven't looked at Avro before. I've looked at MB-system before for some of the multi-beam processing, but not for side-scan data. File formats used for logging online will naturally be based around sequential addition of packets, such as in XTF, to avoid corrupting previously collected data if the power is cut. An interchange format used for processing could be based around something like hdf5-files, for example, which is what NetCDF is based on I believe.
MB-System obviously has a lot of formats in its MBIO library. Perhaps its possible to call the functions there from python through the ctypes interface, but it's probably a huge task.
from pyxtf.
Related Issues (18)
- Channel ordering HOT 8
- Example notebook is missing 'concatenate_channel' function HOT 2
- pyxtf error HOT 2
- xtf can't be read correctly HOT 3
- XTF_HEADER(67) HOT 1
- I met an error when reading a xtf file HOT 5
- Convert .xxx to xtf files HOT 2
- File indexing HOT 3
- How convert XTF to Geotiff? HOT 2
- Error while plotting HOT 2
- Run plot_sonar_paythy.py in examples HOT 1
- Ensure that an index is for the file being read
- Write XTF example failing to write packets HOT 1
- Memory Error HOT 3
- Writing over 255 pings causes output xtf file to be unreadable. HOT 3
- Set the SampleFormat enumeration automatically from numpy datatype when writing packets
- Weighted concatenation fails due to negative integer powers not allowed HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pyxtf.