home / github / issue_comments

Menu
  • Search all tables
  • GraphQL API

issue_comments: 495600572

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/2986#issuecomment-495600572 https://api.github.com/repos/pydata/xarray/issues/2986 495600572 MDEyOklzc3VlQ29tbWVudDQ5NTYwMDU3Mg== 397386 2019-05-24T12:19:14Z 2019-05-24T12:19:14Z CONTRIBUTOR

Thank you, for the information, I will try to interface my classes with this information. I saw in the conversation that one of the problems was the serialization of this information in NetCDF files. My class allows you to serialize the tree:

python In [5]: coordinates = np.asarray(( np.random.uniform(-180.0, 180.0, 4), np.random.uniform(-90.0, 90.0, 4), np.random.uniform(-10000, 100000, 4))).T In [6]: tree.packing(coordinates) In [7]:tree.__getstate__() Out[7]: ((6378137.0, 0.0033528106647474805), array([[ 22759.57572379, 79992.43969068, -6418971.88026264], [ 170101.10528328, -718657.28577825, 6402886.08678261], [-1385601.77565369, 1608787.7370298, 6095481.97179018], [-6272786.11583145, 12746.83764378, -1461257.51500618]])) It can be structured in a NetCDF file. Thanks again for the information.

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