streaming MODIS L2 data with OPeNDAP

Use this Forum to find information on, or ask a question about, NASA Earth Science data.
Post Reply
ulusek1234
Posts: 1
Joined: Mon Aug 11, 2025 6:30 am America/New_York
Answers: 0

streaming MODIS L2 data with OPeNDAP

by ulusek1234 » Mon Aug 11, 2025 6:38 am America/New_York

I am trying to open MODIS data without dowlanding them.
Try to use two approach but both are not working
Is it possible to use this data in cloud?

1) Error
netcdf_file ='https://obdaac-tea.earthdatacloud.nasa.gov/ob-cumulus-prod-public/AQUA_MODIS.20240426T125000.L2.OC.nc'
xrds = xr.open_dataset(netcdf_file)
xrds

2) Empty file with mata data
auth = earthaccess.login()
data_links is a list of links after search data_links.append ({"links": i.data_links(), "size (MB):": i.size()})

fs = earthaccess.open([data_links[5]])[0]
xrds = xr.open_dataset(fs, engine='h5netcdf', decode_cf=True)
print(xrds)

Filters:

OB.DAAC-EDL - amscott
Posts: 414
Joined: Mon Jun 22, 2020 5:24 pm America/New_York
Answers: 1
Has endorsed: 8 times
Endorsed: 8 times

Re: streaming MODIS L2 data with OPeNDAP

by OB.DAAC-EDL - amscott » Mon Aug 11, 2025 1:41 pm America/New_York

Currently the data need to be downloaded before you can use it in applications. OPeNDAP is not yet supported in the cloud for OB.DAAC datasets but we will eventually offer DMR++ files to enable users to work on OPeNDAP servers.

Post Reply