Effacer les filtres
Effacer les filtres

Reading Tar Files In Matlab

10 vues (au cours des 30 derniers jours)
Joe Sheckles
Joe Sheckles le 20 Fév 2020
There are a list of tar files
In the tar files, there should be hourly precipitation amounts and they should be designated by location (longitude or latitude or pixels).
I am told that it is possible for Matlab to import this data and organize (tabulate or analyze) the precipitation amounts according to location for each file.
I started with
filenames = untar('C:\Users\Joseph\Documents\NWS_NEXRAD_NXL2SR_KOKX_20100203140000_20100203145959.tar')
Then a few gz files would appear in the Current Folder window.
I would then write something lke
files = gunzip('KOKX20100203_145516_V03.gz')
This will produce a file with a name KOKX20100203_145516_V03
When I click table, it shows up in unicode.
So currently, I am even unable to get a legible table, let alone tabulate results according to location.
If anyone is able to help in any way, at any level (not necessarily even organizing by location, but just even reading or opening), that would be great.
Thanks,
J

Réponses (0)

Produits


Version

R2018a

Community Treasure Hunt

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

Start Hunting!

Translated by