home / github / issues

Menu
  • Search all tables
  • GraphQL API

issues: 423356906

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
423356906 MDU6SXNzdWU0MjMzNTY5MDY= 2827 multiple reference times 48764870 closed 0     2 2019-03-20T16:40:33Z 2019-03-21T13:10:32Z 2019-03-21T13:10:31Z NONE      

problem when reference time change between months

I'm having some problems creating a subset form some netcdfs. Mainly I have to open some netcdfs from a global database, make an spatial and temporal subset and create a new netcdf to store the information in my local machine.

The problem appears when my temporal range goes from one month to another one. I load de dataset ussing ds = xr.open_mfdataset() everything is ok and i obtain a variable ds.time.values with all the correct times. The problem is when i tried to export this information to a new one netcdf. I use the comand ds.to_netcdf(filename, mode='w') but the resulting netcdf presents a mistake in the time values. it takes the reference time of the first netcdf but it doesn't have into account that the netcdf's of the following month have a diferent reference time.

I suposse that i'm missing something, Any idea?

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/2827/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
  • 2 rows from issue in issue_comments
Powered by Datasette · Queries took 0.693ms · About: xarray-datasette