Files returned by OPeNDAP are compressed?
-
- Subject Matter Expert
- Posts: 11
- Joined: Thu Nov 18, 2021 10:29 am America/New_York
- Been thanked: 1 time
Files returned by OPeNDAP are compressed?
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"?
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"?
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 postFilters:
-
- Posts: 385
- Joined: Mon Sep 30, 2019 8:33 am America/New_York
- Has thanked: 3 times
Re: Files returned by OPeNDAP are compressed?
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.
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.
-
- Subject Matter Expert
- Posts: 11
- Joined: Thu Nov 18, 2021 10:29 am America/New_York
- Been thanked: 1 time
Re: Files returned by OPeNDAP are compressed?
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.
-
- Posts: 385
- Joined: Mon Sep 30, 2019 8:33 am America/New_York
- Has thanked: 3 times
Re: Files returned by OPeNDAP are compressed?
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.
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.