Giter Site home page Giter Site logo

caline3's People

Contributors

dholstius avatar

Watchers

 avatar

Forkers

baaqmd wesleyburr

caline3's Issues

CALINE3_RECEPTOR_TOTALS

Dear David, I'm testing Rcaline and CALINE3

  • I added the flag -fPIC to CALINE3_FFLAGS in CALINE3/src/Makevars, as suggested by the compiler;
  • tests on CALINE3:
test_dir("/home/giovanni/R/FVG/packages/CALINE3/inst/tests/")

CAL3CONC: 
CAL3INTG: 
rural curved: .............
single link: ..
urban freeway: ...............

For the urban freeway cases:
  Some concentrations differ by < 0.1 ppm CO compared to CALINE3 User Guide.
  Not sure if this is data input error, compiler differences, or something else.
  Tests have not been written exactly against CALINE3 User Guide examples.


DONE ===============================================================================================================

(seems ok)

  • while
test_dir("/home/giovanni/R/FVG/packages/Rcaline/inst/tests/")
CALINE3-examples: 
Error in UseMethod("Receptors") : 
  no applicable method for 'Receptors' applied to an object of class "c('matrix', 'double', 'numeric')"
Called from: Receptors(cbind(x = 30, y = 0), z = 1.8)
  • following https://github.com/holstius/Rcaline/blob/master/vignettes/SanFrancisco.Rmd, when I run this
pred_matrix <- predict(SF_model, units = "mg/m^3")
I got this message:
`Error in do.call("CALINE3_RECEPTOR_TOTALS", all_args) : 
  cannot find the function "CALINE3_RECEPTOR_TOTALS"
Called from: do.call("CALINE3_RECEPTOR_TOTALS", all_args)

Any idea?
Thank you!

R version 3.2.4 Revised (2016-03-16 r70336)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 14.04.4 LTS

locale:
 [1] LC_CTYPE=it_IT.UTF-8       LC_NUMERIC=C               LC_TIME=it_IT.UTF-8        LC_COLLATE=it_IT.UTF-8    
 [5] LC_MONETARY=it_IT.UTF-8    LC_MESSAGES=it_IT.UTF-8    LC_PAPER=it_IT.UTF-8       LC_NAME=C                 
 [9] LC_ADDRESS=C               LC_TELEPHONE=C             LC_MEASUREMENT=it_IT.UTF-8 LC_IDENTIFICATION=C       

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

other attached packages:
[1] Rcaline_1.2    testthat_1.0.2 rgeos_0.3-19   rgdal_1.1-10   CALINE3_1.2    sp_1.2-3      

loaded via a namespace (and not attached):
 [1] Rcpp_0.12.5      lattice_0.20-33  crayon_1.3.2     plyr_1.8.3       grid_3.2.4       R6_2.1.2        
 [7] gtable_0.2.0     magrittr_1.5     scales_0.4.0     ggplot2_2.1.0    tools_3.2.4      munsell_0.4.3   
[13] colorspace_1.2-6

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.