bluegreen-labs/hwsdr

Queries resulting in all NAs

eapower opened this issue · 3 comments

This looks like a great package! I have tried installing both the stable CRAN and development release versions of hwsdr. WIth either loaded, when I then try to run the first line of example code ...

all <- ws_subset(
    site = "HWSD",
    location = c(34, -81),
    param = "ALL"
  )

... I get NAs across the board:

> all
   site  parameter latitude longitude value
1  HWSD         ID   -81.05     33.95     1
2  HWSD  AWC_CLASS   -81.05     33.95    NA
3  HWSD     ISSOIL   -81.05     33.95    NA
4  HWSD  MU_GLOBAL   -81.05     33.95    NA
5  HWSD  REF_DEPTH   -81.05     33.95    NA
6  HWSD      ROOTS   -81.05     33.95    NA
7  HWSD T_BULK_DEN   -81.05     33.95    NA
8  HWSD S_BULK_DEN   -81.05     33.95    NA
9  HWSD T_REF_BULK   -81.05     33.95    NA
10 HWSD S_REF_BULK   -81.05     33.95    NA
11 HWSD T_CEC_CLAY   -81.05     33.95    NA
12 HWSD S_CEC_CLAY   -81.05     33.95    NA
13 HWSD     T_CLAY   -81.05     33.95    NA
14 HWSD     S_CLAY   -81.05     33.95    NA
15 HWSD   T_GRAVEL   -81.05     33.95    NA
16 HWSD   S_GRAVEL   -81.05     33.95    NA
17 HWSD     T_SAND   -81.05     33.95    NA
18 HWSD     S_SAND   -81.05     33.95    NA
19 HWSD     T_SILT   -81.05     33.95    NA
20 HWSD     S_SILT   -81.05     33.95    NA
21 HWSD   T_PH_H2O   -81.05     33.95    NA
22 HWSD   S_PH_H2O   -81.05     33.95    NA
23 HWSD        t_c   -81.05     33.95    NA
24 HWSD        s_c   -81.05     33.95    NA
25 HWSD       T_OC   -81.05     33.95    NA
26 HWSD       S_OC   -81.05     33.95    NA
27 HWSD  SUM_s_c_1   -81.05     33.95    NA
28 HWSD SUM_t_c_12   -81.05     33.95    NA

Here is my session info:

R version 4.3.2 (2023-10-31)
Platform: aarch64-apple-darwin20 (64-bit)
Running under: macOS Sonoma 14.2.1

Matrix products: default
BLAS:   /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib 
LAPACK: /Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/lib/libRlapack.dylib;  LAPACK version 3.11.0

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

time zone: Europe/London
tzcode source: internal

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base     

other attached packages:
[1] hwsdr_1.1

loaded via a namespace (and not attached):
 [1] desc_1.4.3         R6_2.5.1           codetools_0.2-19   magrittr_2.0.3     e1071_1.7-14       remotes_2.4.2.1    KernSmooth_2.23-22
 [8] classInt_0.4-10    sf_1.0-16          ps_1.7.6           cli_3.6.2          processx_3.8.4     callr_3.7.6        grid_4.3.2        
[15] DBI_1.2.2          terra_1.7-71       proxy_0.4-27       class_7.3-22       compiler_4.3.2     httr_1.4.7         rstudioapi_0.15.0 
[22] tools_4.3.2        pkgbuild_1.4.3     curl_5.2.1         Rcpp_1.0.12        units_0.8-5