Reading .gz file
Ältere Kommentare anzeigen
Hello
I have a .gz file that contains bathymetry data (hopefully!). I read online that it should be unzipped first so I tried this in 7zip. However, once I did that, the file no longer has an extension.
Is it possible to open and view this file in Matlab? Ideally I want a .txt file out of it so I can interrogate the data.
Thanks in advance for your help. I've can't attached the file as it exceeds 5MB.
10 Kommentare
Ameer Hamza
am 11 Nov. 2020
gz is a format for compressed file? Don't you get the original file when you uncompress it?
Meghan Rochford
am 11 Nov. 2020
Ameer Hamza
am 11 Nov. 2020
You can try to see the content of the file by opening with a text editor. It might be the case that the original file also does not have an extension.
Walter Roberson
am 11 Nov. 2020
bathymetry data files do not always have extensions. Sometimes they are text files, but sometimes they are binary files such as NETCAT format. There might already be tools available to read the files. Where did you get them?
Sourabh Kondapaka
am 16 Nov. 2020
Meghan Rochford
am 16 Nov. 2020
Bearbeitet: Meghan Rochford
am 16 Nov. 2020
Walter Roberson
am 16 Nov. 2020
I find Olex.no as the source of the file format, but I am having difficulty finding information about the file format.
Sourabh Kondapaka
am 17 Nov. 2020
Walter Roberson
am 17 Nov. 2020
That manual just talks about mechanics such as using floppy diskettes to save the data, and does not talk about file formats. It is not relevant as the data has already been saved online and the question is how to import the data into MATLAB.
Meghan Rochford
am 17 Nov. 2020
Antworten (1)
Rohit Pappu
am 25 Nov. 2020
0 Stimmen
2 Kommentare
Walter Roberson
am 25 Nov. 2020
Bearbeitet: Walter Roberson
am 25 Nov. 2020
That is not the question. The user already unzipped the file, getting out a file with no extension, and the user wants to read the file.
The manufacturer is Olex.no but I cannot seem to find any documentation about the file format. I did find another commercial vendor which can read the files, but that does not really help.
Meghan Rochford
am 25 Nov. 2020
Kategorien
Mehr zu Standard File Formats finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!