Page 1 of 1

Files returned by OPeNDAP are compressed?

Posted: Mon Dec 02, 2024 11:12 am America/New_York
by OB.DAAC - itcarroll
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"?

Re: Files returned by OPeNDAP are compressed?

Posted: Tue Dec 03, 2024 12:09 pm America/New_York
by LAADS-EDL_UserServices_M
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.

Re: Files returned by OPeNDAP are compressed?

Posted: Tue Dec 03, 2024 11:26 pm America/New_York
by OB.DAAC - itcarroll
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.

Re: Files returned by OPeNDAP are compressed?

Posted: Wed Dec 04, 2024 8:28 am America/New_York
by LAADS-EDL_UserServices_M
Good to know that you were able to find and resolve the issue.