home / github / issues

Menu
  • GraphQL API
  • Search all tables

issues: 373955021

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
373955021 MDU6SXNzdWUzNzM5NTUwMjE= 2510 Dataset-wide _FillValue 2448579 closed 0     4 2018-10-25T13:44:46Z 2018-10-25T17:39:35Z 2018-10-25T17:37:26Z MEMBER      

I'm looking at a netCDF file that has the variable float T_20(time, depth, lat, lon) ; T_20:name = "T" ; T_20:long_name = "TEMPERATURE (C)" ; T_20:generic_name = "temp" ; T_20:FORTRAN_format = "f10.2" ; T_20:units = "C" ; T_20:epic_code = 20 ;

and global attributes ``` // global attributes: :platform_code = "8n90e" ; :site_code = "8n90e" ; :wmo_platform_code = 23007 ; :array = "RAMA" ; :Request_for_acknowledgement = "If you use these data in publications or presentations, please acknowledge the GTMBA Project Office of NOAA/PMEL. Also, we would appreciate receiving a preprint and/or reprint of publications utilizing the data for inclusion in our bibliography. Relevant publications should be sent to: GTMBA Project Office, NOAA/Pacific Marine Environmental Laboratory, 7600 Sand Point Way NE, Seattle, WA 98115" ; :Data_Source = "Global Tropical Moored Buoy Array Project Office/NOAA/PMEL" ; :File_info = "Contact: Dai.C.McClurg@noaa.gov" ; :missing_value = 1.e+35f ; :_FillValue = 1.e+35f ; :CREATION_DATE = "13:05 28-JUL-2017" ; :_Format = "classic" ;

```

Problem description

In this case the _FillValue and missing_value attributes are set for the entire dataset and not each individual variable. decode_cf_variable thus fails to insert NaNs.

I'm not sure that this is standards-compliant but is this something we could support?

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/2510/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

  • 0 rows from issues_id in issues_labels
  • 4 rows from issue in issue_comments
Powered by Datasette · Queries took 0.633ms · About: xarray-datasette