Code Monkey home page Code Monkey logo

eclipse's People

Contributors

benda18 avatar

Stargazers

 avatar

Watchers

 avatar  avatar

eclipse's Issues

shiny production improvements

PLANNER TOOL

  • add a conditional geom_vertical() for sys.time() for period of eclipse +/- 1 hour
  • add next eclipse logic back in
  • link to next_eclipse
  • link to all_eclipses
  • qr code for sharing
  • update sources and contact box

NEXT ECLIPSE TOOL

  • link to planner_tool
  • link to all_eclipses
  • qr code for sharing
  • update sources and contact box

ALL ECLIPSES TOOL

  • add filter for all eclipses
  • link to planner_tool
  • link to next_eclipse
  • qr code for sharing

This logic doesn't work all the time

ecl_type <- c("total" = min(abs(min(when_next$tret[when_next$tret > 0]) -
swe_sol_eclipse_when_glob(jd_start = min(when_next$tret[when_next$tret > 0]),
ephe_flag = 4,
ifltype = SE$ECL_TOTAL,
backward = F)$tret)),
"annular" = min(abs(min(when_next$tret[when_next$tret > 0]) -
swe_sol_eclipse_when_glob(jd_start = min(when_next$tret[when_next$tret > 0]),
ephe_flag = 4,
ifltype = SE$ECL_ANNULAR,
backward = F)$tret)),
"partial" = min(abs(min(when_next$tret[when_next$tret > 0]) -
swe_sol_eclipse_when_glob(jd_start = min(when_next$tret[when_next$tret > 0]),
ephe_flag = 4,
ifltype = SE$ECL_PARTIAL,
backward = F)$tret)))

shiny app find future eclipse

inputs:

  • address
  • search into future or past

filters:

  • min. obscuration -OR- maximum drive distance
  • partial annual vs total eclipse

outputs:

  • lunar and solar
  • eclipse type (total vs partial)
  • within totality?
  • obscuration
  • date / years in future

timezone error

next_lunar <- strftime(x = with_tz(ymd_hms(paste(swephR::swe_jdet_to_utc(when_lunar$tret[1], 1),
sep = "-", collapse = "-")), tzone = "America/New_York"),
format = "%B %d, %Y at %I:%M%p %Z")

when deployed to server, this always is coming back as UTC timezone. doesn't happen in other webapp.

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.