-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
00549ea
commit d1ebd4d
Showing
165 changed files
with
2,782 additions
and
1,229 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
^.*\.Rproj$ | ||
^\.Rproj\.user$ | ||
^data-raw$ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
Package: mars | ||
Title: Mars Solar Radiation | ||
Version: 0.0.0.9000 | ||
Authors@R: | ||
person(given = "Georges", | ||
family = "Labreche", | ||
role = c("aut", "cre"), | ||
email = "[email protected]", | ||
comment = structure("YOUR-ORCID-ID", .Names = "ORCID")) | ||
Description: A set of functions to calculate solar irradiance and insolation on Mars horizontal and inclined surfaces. | ||
License: What license it uses | ||
Encoding: UTF-8 | ||
LazyData: true | ||
RoxygenNote: 7.0.0 | ||
Suggests: | ||
testthat, | ||
covr |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# Generated by roxygen2: do not edit by hand | ||
|
||
export(G_b) | ||
export(G_bh) | ||
export(G_bi) | ||
export(G_dh) | ||
export(G_di) | ||
export(G_h) | ||
export(G_i) | ||
export(G_ob) | ||
export(G_obh) | ||
export(H_ali) | ||
export(H_bi) | ||
export(H_dh) | ||
export(H_di) | ||
export(H_h) | ||
export(H_hbh) | ||
export(H_i) | ||
export(H_obh) | ||
export(I_ali) | ||
export(I_bh) | ||
export(I_bi) | ||
export(I_dh) | ||
export(I_di) | ||
export(I_h) | ||
export(I_i) | ||
export(I_obh) | ||
export(Z) | ||
export(albedo) | ||
export(constrain_solar_time_range) | ||
export(declination) | ||
export(f) | ||
export(f_all_Zs) | ||
export(f_all_taus) | ||
export(is_irradiated) | ||
export(is_polar_day) | ||
export(is_polar_night) | ||
export(sunrise) | ||
export(sunrise_for_horizontal_surface) | ||
export(sunrise_for_inclined_surface) | ||
export(sunrise_for_inclined_surface_oriented_east) | ||
export(sunrise_for_inclined_surface_oriented_equator) | ||
export(sunrise_for_inclined_surface_oriented_west) | ||
export(sunset) | ||
export(sunset_for_horizontal_surface) | ||
export(sunset_for_inclined_surface) | ||
export(sunset_for_inclined_surface_oriented_east) | ||
export(sunset_for_inclined_surface_oriented_equator) | ||
export(sunset_for_inclined_surface_oriented_west) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#' Title | ||
#' | ||
#' @param Ls | ||
#' @param phi | ||
#' @param longitude | ||
#' @param T_s | ||
#' @param Z | ||
#' @param tau | ||
#' @param al | ||
#' @param beta | ||
#' @param nfft | ||
#' | ||
#' @return | ||
G_ali = function(Ls, phi, longitude, T_s, Z=Z_eq(Ls=Ls, T_s=T_s, phi=phi, nfft=nfft), tau, al=albedo(latitude=phi, longitude=longitude, tau=tau), beta, nfft){ | ||
|
||
Gali = al * Gh_eq(Ls=Ls, phi=phi, longitude=longitude, Z=Z, tau=tau, al=al, nfft=nfft) * sin((beta*pi/180) / 2)^2 | ||
return(Gali) | ||
} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#' Title | ||
#' | ||
#' @param Ls | ||
#' @param phi | ||
#' @param longitude | ||
#' @param T_s | ||
#' @param z | ||
#' @param tau | ||
#' @param al | ||
#' @param beta | ||
#' @param nfft | ||
#' | ||
#' @return | ||
#' @export | ||
G_di = function(Ls, phi, longitude, T_s, z=Z(Ls=Ls, T_s=T_s, phi=phi, nfft=nfft), tau, al=albedo(latitude=phi, longitude=longitude, tau=tau), beta, nfft){ | ||
|
||
G_di = Gdh_eq(Ls=Ls, phi=phi, longitude=longitude, z=z, tau=tau, al=al, nfft=nfft) * cos((beta*pi/180) / 2)^2 | ||
return(G_di) | ||
} |
Oops, something went wrong.