How to read zipped fies without open them

조회 수: 2 (최근 30일)
Shulamit Nussboim
Shulamit Nussboim 2021년 5월 6일
댓글: Shulamit Nussboim 2021년 5월 10일
I have a bunch of zipped rain radar files which are raster. I cannot open all of them, becasue they are many and large. Is there a way to read them without opening them? I would like to read the by the date in the file name and sum them.
Thank you in advance

답변 (1개)

Walter Roberson
Walter Roberson 2021년 5월 6일
  댓글 수: 14
Walter Roberson
Walter Roberson 2021년 5월 10일
org.apache.tools.zip.ZipFile() works with .zip files but .gz files are a slightly different format. gunzip() knows how to read them.
Shulamit Nussboim
Shulamit Nussboim 2021년 5월 10일
Thank you

댓글을 달려면 로그인하십시오.

카테고리

Help CenterFile Exchange에서 Environment and Settings에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by