Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@Mikejmnez
Copy link
Collaborator

@Mikejmnez Mikejmnez commented Mar 13, 2025

The following Pull Request:

new behavior

url = "http://test.opendap.org/opendap/data/nc/coads_climatology.nc"
pyds = open_url(url, protocol="dap2")
pyds.tree()
.coads_climatology.nc
├──COADSX
├──COADSY
├──TIME
├──SST
│  ├──SST
│  ├──TIME
│  ├──COADSY
│  └──COADSX
├──AIRT
│  ├──AIRT
│  ├──TIME
│  ├──COADSY
│  └──COADSX
├──UWND
│  ├──UWND
│  ├──TIME
│  ├──COADSY
│  └──COADSX
└──VWND
   ├──VWND
   ├──TIME
   ├──COADSY
   └──COADSX


#=========================== this is new
pyds.grids()
>>>{'SST': {'shape': (12, 90, 180), 'maps': ['TIME', 'COADSY', 'COADSX']},
 'AIRT': {'shape': (12, 90, 180), 'maps': ['TIME', 'COADSY', 'COADSX']},
 'UWND': {'shape': (12, 90, 180), 'maps': ['TIME', 'COADSY', 'COADSX']},
 'VWND': {'shape': (12, 90, 180), 'maps': ['TIME', 'COADSY', 'COADSX']}}
#=========================== this is new

@Mikejmnez Mikejmnez linked an issue Mar 13, 2025 that may be closed by this pull request
@Mikejmnez
Copy link
Collaborator Author

This is a very small feature for dap2 - I will merge.

@Mikejmnez Mikejmnez merged commit 84ecc85 into main Mar 13, 2025
7 of 13 checks passed
@Mikejmnez Mikejmnez deleted the iss445 branch March 13, 2025 17:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

add property to return all grid objects

2 participants