home / github / issue_comments

Menu
  • GraphQL API
  • Search all tables

issue_comments: 580442427

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/2368#issuecomment-580442427 https://api.github.com/repos/pydata/xarray/issues/2368 580442427 MDEyOklzc3VlQ29tbWVudDU4MDQ0MjQyNw== 6249613 2020-01-30T20:21:30Z 2020-01-30T20:26:08Z NONE

Adding another example. While working through the Model Evaluation Tool (MET) tutorial, I created a NetCDF file with the tool, and wasn't able to open the file it created.

MissingDimensionsError: 'lat' has more than 1-dimension and the same name as one of its dimensions ('lat', 'lon'). xarray disallows such variables because they conflict with the coordinates used to label dimensions.

Sounds to me like the same error caused by https://github.com/pydata/xarray/issues/2233

Below is the .nc file contents with ncdump

```

ncdump sample_fcst_24L_2005080800V_12A.nc -h netcdf sample_fcst_24L_2005080800V_12A { dimensions: lat = 129 ; lon = 185 ; variables: float lat(lat, lon) ; lat:long_name = "latitude" ; lat:units = "degrees_north" ; lat:standard_name = "latitude" ; float lon(lat, lon) ; lon:long_name = "longitude" ; lon:units = "degrees_east" ; lon:standard_name = "longitude" ; float APCP_12(lat, lon) ; APCP_12:name = "APCP_12" ; APCP_12:long_name = "Total precipitation" ; APCP_12:level = "A12" ; APCP_12:units = "kg/m^2" ; APCP_12:_FillValue = -9999.f ; APCP_12:init_time = "20050807_000000" ; APCP_12:init_time_ut = "1123372800" ; APCP_12:valid_time = "20050808_000000" ; APCP_12:valid_time_ut = "1123459200" ; APCP_12:accum_time = "120000" ; APCP_12:accum_time_sec = 43200 ;

// global attributes: :MET_version = "V8.1.2" ; :MET_tool = "pcp_combine" ; :RunCommand = "Sum: 4 files with accumulations of 030000." ; :Projection = "Lambert Conformal" ; :hemisphere = "N" ; :scale_lat_1 = "25.000000" ; :scale_lat_2 = "25.000000" ; :lat_pin = "12.190000" ; :lon_pin = "-133.459000" ; :x_pin = "0.000000" ; :y_pin = "0.000000" ; :lon_orient = "-95.000000" ; :d_km = "40.635000" ; :r_km = "6371.200000" ; :nx = "185" ; :ny = "129 grid_points" ; }

```

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