Files returned by OPeNDAP are compressed?

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
Post Reply
OB.DAAC - itcarroll
Subject Matter Expert
Subject Matter Expert
Posts: 11
Joined: Thu Nov 18, 2021 10:29 am America/New_York
Answers: 1
Been thanked: 1 time

Files returned by OPeNDAP are compressed?

by OB.DAAC - itcarroll » Mon Dec 02, 2024 11:12 am America/New_York

I think there has been a recent change for files downloaded from a link like:

https://ladsweb.modaps.eosdis.nasa.gov/opendap/RemoteResources/laads/allData/61/MOD07_L2/2000/055/MOD07_L2.A2000055.0000.061.2017202185924.hdf.nc4

The file I get from that link is compressed, and I don't think it used to be. I have some Python code that previously worked that did not involve any decompression. Should the suffix of the file name now be ".nc4.gz"?
by OB.DAAC - itcarroll » Tue Dec 03, 2024 11:26 pm America/New_York
Thanks for checking and for the reply. I should have investigated further, as what I observed appears to be the result of something going on behind the scenes in the `earthaccess` Python package. Issue report for anyone interested is at https://github.com/nsidc/earthaccess/issues/887.
Go to full post

Filters:

LAADS-EDL_UserServices_M
Posts: 385
Joined: Mon Sep 30, 2019 8:33 am America/New_York
Answers: 2
Has thanked: 3 times

Re: Files returned by OPeNDAP are compressed?

by LAADS-EDL_UserServices_M » Tue Dec 03, 2024 12:09 pm America/New_York

No change has been made to LAADS OPeNDAP service setting that would result in compressing the download file. We just tested it by downloading the file you mentioned from OPeNDAP service page and it was not compressed.
Regards,
LAADS User Services

To receive news from LAADS DAAC direct to your inbox, email laadsdaac-join@lists.nasa.gov with “subscribe” in the subject line.

OB.DAAC - itcarroll
Subject Matter Expert
Subject Matter Expert
Posts: 11
Joined: Thu Nov 18, 2021 10:29 am America/New_York
Answers: 1
Been thanked: 1 time

Re: Files returned by OPeNDAP are compressed?

by OB.DAAC - itcarroll » Tue Dec 03, 2024 11:26 pm America/New_York

Thanks for checking and for the reply. I should have investigated further, as what I observed appears to be the result of something going on behind the scenes in the `earthaccess` Python package. Issue report for anyone interested is at https://github.com/nsidc/earthaccess/issues/887.

LAADS-EDL_UserServices_M
Posts: 385
Joined: Mon Sep 30, 2019 8:33 am America/New_York
Answers: 2
Has thanked: 3 times

Re: Files returned by OPeNDAP are compressed?

by LAADS-EDL_UserServices_M » Wed Dec 04, 2024 8:28 am America/New_York

Good to know that you were able to find and resolve the issue.
Regards,
LAADS User Services

To receive news from LAADS DAAC direct to your inbox, email laadsdaac-join@lists.nasa.gov with “subscribe” in the subject line.

Post Reply