home / github / issues

Menu
  • GraphQL API
  • Search all tables

issues: 216689747

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
216689747 MDU6SXNzdWUyMTY2ODk3NDc= 1325 extract values at nearest point with multidimensional latitude and longitude field 13285597 closed 0     2 2017-03-24T07:55:53Z 2019-02-25T01:16:40Z 2019-02-25T01:16:40Z NONE      

How do I extract values at a specific latitude and longitude point when latitude/longitude values are 2-D array?

I have a dataset with the following coordinates:

Dimensions: (x: 6165, y: 5801) Coordinates: * y (y) float64 0.0 3e+03 6e+03 9e+03 1.2e+04 1.5e+04 ... * x (x) float64 0.0 3e+03 6e+03 9e+03 1.2e+04 1.5e+04 ... latitude (y, x) float64 10.16 10.17 10.17 10.18 10.19 10.19 ... longitude (y, x) float64 78.99 79.01 79.03 79.05 79.08 79.1 ...

I want to extract value for at a specific latitude and longitude point and the exact latitude/longitude value is not in the coordinates. Then I started with calculate the distance between two point on Earth, and then get the (x_idx, y_idx) by minimize the distance. However, CPU and time costing is a result because of the large size of data.

I'm wondering is there any other ways could make it less costing?

{
    "url": "https://api.github.com/repos/pydata/xarray/issues/1325/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.505ms · About: xarray-datasette