Reading .gz file

89 views (last 30 days)
Meghan Rochford
Meghan Rochford on 11 Nov 2020
Commented: Meghan Rochford on 25 Nov 2020
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 Comments
Walter Roberson
Walter Roberson on 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
Meghan Rochford on 17 Nov 2020
Thanks Walter, yes the data has already been downloaded and saved on our system. It is about being able to open that data in Matlab that is my issue and question.

Sign in to comment.

Answers (1)

Rohit Pappu
Rohit Pappu on 25 Nov 2020
For unzipping a .gz file, gunzip function can be used
  2 Comments
Walter Roberson
Walter Roberson on 25 Nov 2020
Edited: Walter Roberson on 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
Meghan Rochford on 25 Nov 2020
It seems that I probably won't get the answer I need so we've decided to just not use this data/method of data collection going forward. Thanks anyway :)

Sign in to comment.

Categories

Find more on Downloads in Help Center and File Exchange

Products


Release

R2020a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!