home / github / issues

Menu
  • Search all tables
  • GraphQL API

issues: 143422096

This data as json

id node_id number title user state locked assignee milestone comments created_at updated_at closed_at author_association active_lock_reason draft pull_request body reactions performed_via_github_app state_reason repo type
143422096 MDU6SXNzdWUxNDM0MjIwOTY= 803 Unable to reference variable 7300413 closed 0     2 2016-03-25T04:40:35Z 2016-03-26T03:59:24Z 2016-03-26T03:59:24Z NONE      

Hello,

I was trying to use xarray to access the MERRA-2 monthly dataset. This dataset provides nc4 files, one for each month, with multiple analyzed variables (U,V,T, etc.,) in each file.

if I open one file and try to access the zonal wind (U) as

python data = xarray.open_dataset('/data/MERRA2/MERRA2_100.instM_3d_ana_Np.198001.nc4') data = data.U

This works just fine.

However, if I use

python data = data.T

I get back the entire dataset, i.e, I then have data.T.T, and data.T.T.T etc., I can open a single file using netCDF4, and the values seem ok.

This seems to happen only with the temperature (T) field. all other fields seem to behave ok.

Any ideas as to what is happening?

TIA, Joy

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/803/reactions",
    "total_count": 0,
    "+1": 0,
    "-1": 0,
    "laugh": 0,
    "hooray": 0,
    "confused": 0,
    "heart": 0,
    "rocket": 0,
    "eyes": 0
}
  completed 13221727 issue

Links from other tables

  • 1 row from issues_id in issues_labels
  • 2 rows from issue in issue_comments
Powered by Datasette · Queries took 0.674ms · About: xarray-datasette