FlowWest / hecr

https://flowwest.github.io/hecr/
MIT License
6 stars 2 forks source link

`extract_ts2` function missing #15

Open tungttnguyen opened 3 years ago

tungttnguyen commented 3 years ago

Hello there,

The extract_ts2 function was mentioned in the documentation but I could not find it anywhere. Can you please check?

# create a matrix of coordinates of interest
m <- matrix(c(6099816.76262168, 2030896.94257798,
              6099866.76262168, 2030896.94257798,
              6099916.76262168, 2030896.94257798,
              6099966.76262168, 2030896.94257798,
              6100016.76262168, 2030896.94257798,
              6100166.76262168, 2030896.94257798,
              6100216.76262168, 2030896.94257798,
              6100266.76262168, 2030896.94257798,
              6100316.76262168, 2030896.94257798,
              6100366.76262168, 2030896.94257798,
              6106316.76262168, 2030896.94257798,
              6106366.76262168, 2030896.94257798), ncol = 2, byrow = TRUE)

# query the hdf files
x <- hecr::extract_ts2(f, xy=m, ts_type="Water Surface")

Thank you all for your work on this package!