-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.R
58 lines (55 loc) · 1.08 KB
/
main.R
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
closeAllConnections()
rm(list=ls())
# library(Geodesy)
#
# setwd("C:/Users/Garrett/Desktop/Shiny/Date_Utility")
# source("jd2mjd.R")
# source("mjd2jd.R")
# source("jd2yr2.R")
# source("yr2jd.R")
# source("jd2doy.R")
# source("doy2jd.R")
# source("jd2dow.R")
# source("gps2jd.R")
# source("jd2cal.R")
# source("cal2jd.R")
# source("getJulienDate.R")
#
# library(stringr)
# # str_locate_all(pattern ='2',"the2quickbrownfoxeswere2tired")
# # attr(,"match.length")
#
#
# # library(shiny)
# # jd = 1;
# # mjd=56657;
# # # mjd = jd2mjd(jd); #.
# # jd = mjd2jd(mjd);
# # # year = jd2yr2(jd);
# # # jd = yr2jd(year);
# # # print(mjd);
# # # print(jd);
# # # print(year)
# # data=jd2cal(jd)
# # jd2gps(jd)
# #
# # shiny::runApp()
#
# timeSystem=1
# outputString= paste("1853 5")
# timeSystem=2
# outputString= paste("2015 198")
# timeSystem=3
# outputString= paste("57220")
# # timeSystem=4
# # outputString= paste("2015.54")
# # timeSystem=5
# # outputString= paste("2015/07/17")
#
#
#
# jd=getJulienDate(timeSystem,outputString)
#
# x=(strsplit(outputString, split = " "))
#
#