AustralianAntarcticDivision / angstroms

Tools for model grid data (with raster in R)
http://australianantarcticdivision.github.io/angstroms/
4 stars 1 forks source link

coupling - nodes are named wrong (x/y to/from mixed up) #16

Closed mdsumner closed 5 years ago

mdsumner commented 5 years ago
library(tidync)
nc <- tidync("../EA-Atlantis-dev/hydroconstruct/hydroruns.5/file78835d7b5fca_transport.nc")
d <- nc %>% activate("D1") %>% hyper_tibble()

# A tibble: 90 x 8
   faces dest_boxid source_boxid pt1_x pt2_x pt1_y pt2_y  weight
   <dbl>      <int>        <int> <dbl> <dbl> <dbl> <dbl>   <dbl>
 1     0         27            6 111.  -65.2 110.  -66.7 -0.0694
 2     1         27           12 111.  -64.9 111.  -65.2  0.0180