home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 1485155675

This data as json

html_url issue_url id node_id user created_at updated_at author_association body reactions performed_via_github_app issue
https://github.com/pydata/xarray/issues/5515#issuecomment-1485155675 https://api.github.com/repos/pydata/xarray/issues/5515 1485155675 IC_kwDOAMm_X85Yha1b 5821660 2023-03-27T13:59:40Z 2023-03-27T13:59:40Z MEMBER

Late to the party. If this is still an issue for you @mickaellalande, MODIS data can also be read using engine="rasterio" (needs rioxarray).

```python In [1]: import xarray as xr ...: with xr.open_dataset('source/MODIS/MOD10C1.A2000055.061.2020037182124.hdf', engine="rasterio") as ds: ...: display(ds) ...: <xarray.Dataset> Dimensions: (band: 1, x: 7200, y: 3600) Coordinates: * band (band) int64 1 * x (x) float64 -180.0 -179.9 -179.9 ... 179.9 180.0 * y (y) float64 89.97 89.92 89.88 ... -89.93 -89.98 spatial_ref int64 ... Data variables: Day_CMG_Snow_Cover (band, y, x) float32 ... Day_CMG_Clear_Index (band, y, x) float32 ... Day_CMG_Cloud_Obscured (band, y, x) float32 ... Snow_Spatial_QA (band, y, x) float32 ... Attributes: (12/50) ALGORITHMPACKAGEACCEPTANCEDATE: 09-2013 ALGORITHMPACKAGEMATURITYCODE: Normal ALGORITHMPACKAGENAME: MOD_PR10C1 ALGORITHMPACKAGEVERSION: 6 ASSOCIATEDINSTRUMENTSHORTNAME.1: MODIS ASSOCIATEDPLATFORMSHORTNAME.1: Terra ... ... SNOWCOVERPERCENT: 28 SOUTHBOUNDINGCOORDINATE: -90.0 SPSOPARAMETERS: none VERSIONID: 61 WESTBOUNDINGCOORDINATE: -180.0 ZONEIDENTIFIER: Other Grid System

```

{
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  928381010
Powered by Datasette · Queries took 0.659ms · About: xarray-datasette