Giter VIP home page Giter VIP logo

aodlur's Introduction

aodlur

Functions to assist in land use regression using aerosol optical depth

aodlur's People

Contributors

allanjust avatar michaeldorman avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

ihough xmd-sysu

aodlur's Issues

function to pull out predictions from a finished model for a particular set of points/dates

we would like a function with the following features:

input - takes a csv file (or data.frame)
parameters - names for ID field, lat, long fields (default to "lat" and "long"), fields for datestart and dateend, optional parameter for furthest distance (to constrain predictions to points that fall within the model area) - default to 0.05 decimal degrees)
checks - check that there is an ID field (otherwise how can they use this)
check that there are valid lat and long
run geomerge
return a long data.frame with one row per day-location making sure to preserve the ID field
optionally, take a filepath-filename to write.csv the results
report back a warning if everyone is outside of the range of the model (a hint that lat and long are messed up)

add flexibility on "day"

Variable should be able to be named anything (currently unstated that it must be "day") - it is just another dimension on which we are requiring a join. Add flexibility:

  1. make the variable name a parameter (default to day)
  2. check that it has the same type between jointo and joinfrom

check inputs to avoid errors

  1. class/consistency of inputs
  2. day is a date (or at least consistent in jointo and joinfrom)
  3. jointovarname is in jointo, joinfromvarname is in joinfrom, valuefield is in joinfrom
  4. check that joinfrom covers all of the needed days (those in jointo)

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.