![]() |
libSUFR
a LIBrary of Some Useful Fortran Routines
|
Procedures to convert angles to formatted text strings. More...
Functions/Subroutines | |
pure character function, dimension(7) | prs (angle) |
Print separation angle (>0) as ddd.mm or mm.ss string, input in rad. | |
pure character function, dimension(10) | dms (angle) |
Print angle as ddd.mm.ss string, input in rad - See wdms() for HTML version. | |
pure character function, dimension(13) | dmss (angle) |
Print angle as a ddd.mm.ss.ss string, input in rad. | |
pure character function, dimension(11) | dms2 (angle) |
Print angle as dms string, input in rad, output between -180 and +180 - See wdms2() for HTML version. | |
pure character function, dimension(10) | ddms2 (angle) |
Print angle as dd.mm.ss string, input in rad, output between -99 and +99 - See wddms2() for HTML version. | |
pure character function, dimension(9) | d1ms2 (angle) |
Print angle as d.mm.ss string, input in rad, output between -9 and +9 !!! | |
pure character function, dimension(14) | dmss2 (angle, nosymbols) |
Print angle as dms.ss string, input in rad, output between -180 and +180. | |
pure character function, dimension(7) | dm (angle) |
Print angle as ddd:mm string, input in rad. | |
pure character function, dimension(8) | dm2 (angle) |
Print angle as ddd.mm string, input in rad, output between -180 and +180. | |
pure character function, dimension(7) | dmm2 (angle) |
Print angle as dd.mm string, input in rad, output between -99 and +99 !!! | |
pure character function, dimension(9) | dmmm2 (angle) |
Print angle as dd:mm.m string, input in rad, output between -99 and +99 !!! | |
pure character function, dimension(12) | dmmmmm2 (angle, nosymbols) |
Print angle as dd:mm.mmm string (for gps), input in rad, output between -180 and +180 !!! | |
pure character function, dimension(6) | ddd2 (angle) |
Print angle as dd.d string, input in rad, output between -99.9 and +99.9 !!! | |
pure character function, dimension(26) | wdms (angle) |
Print angle as ddd.mm.ss string, input in rad with °, ’ and ” - HTML version of dms() | |
pure character function, dimension(29) | wdmss (angle) |
Print angle as ddd.mm.ss.ss string, input in rad with °, ’ and ” - HTML version of dmss() | |
pure character function, dimension(27) | wdms2 (angle) |
Print angle as dms string, input in rad, output between -180 and +180 with °, ’ and ” - HTML version of dms2() | |
pure character function, dimension(30) | wdmss2 (angle) |
Print angle as ddd.mm.ss.ss string, input in rad, output between -180 and +180 with °, ’ and ” - HTML version of dmss2() | |
pure character function, dimension(26) | wddms2 (angle) |
Print angle as dd.mm'ss" string, input in rad, output between -99 and +99 with °, ’ and ” HTML version of ddms2() | |
pure character function, dimension(25) | wd1ms2 (angle) |
Print angle as d.mm.ss string, input in rad, output between -9 and +9 - HTML version of d1ms2. | |
pure character function, dimension(17) | wdm (angle) |
Print angle as ddd:mm string, input in rad with ° and ’ - HTML version of dm() | |
pure character function, dimension(18) | wdm2 (angle) |
Print angle as ddd.mm string, input in rad, output between -180 and +180 with ° and ’. | |
pure character function, dimension(17) | wdmm2 (angle) |
Print angle as dd.mm string, HTML version input in rad, output between -99 and +99 !!! | |
pure character function, dimension(19) | wdmmm2 (angle) |
Print angle as dd:mm.m string, HTML version. Input in rad, output between -99 and +99 !!! | |
pure character function, dimension(10) | wddd2 (angle) |
Print angle as dd.d string, HTML version input in rad, output between -99.9 and +99.9 !!! | |
pure character function, dimension(8) | ams (angle) |
Print angle as mm:ss.s string, input in rad. | |
pure character function, dimension(9) | ams2 (angle) |
Print angle as mm:ss.s string, input in rad. | |
pure character function, dimension(9) | amss (angle) |
Print angle as mm:ss.ss string, input in rad. | |
pure character function, dimension(5) | ass (angle) |
Print angle as a string of ss.s", input in rad. | |
pure character function, dimension(20) | wams (angle) |
Print angle as mm'ss.s" string, input in rad; HTML version of ams() | |
pure character function, dimension(21) | wams2 (angle) |
Print angle as mm'ss.s" string, input in rad - html version of ams2() | |
pure character function, dimension(21) | wamss (angle) |
Print angle as HTML mm:ss.ss string, input in rad - HTML version of amss() | |
pure character function, dimension(11) | wass (angle) |
Print angle as a string of ss.s", input in rad - HTML version of ass() | |
Procedures to convert angles to formatted text strings.
pure character function, dimension(8) sufr_angle2string::ams | ( | real(double), intent(in) | angle | ) |
Print angle as mm:ss.s string, input in rad.
angle | Angle (rad) |
ams | Angle as mm:ss.s string |
Definition at line 1123 of file angle2string.f90.
References ams(), sufr_kinds::double, sufr_constants::mm, sufr_constants::r2d, and sufr_angles::rev().
Referenced by ams().
pure character function, dimension(9) sufr_angle2string::ams2 | ( | real(double), intent(in) | angle | ) |
Print angle as mm:ss.s string, input in rad.
angle | Angle (rad) |
ams2 | Angle as mm:ss.s string |
Definition at line 1155 of file angle2string.f90.
References ams2(), sufr_kinds::double, sufr_constants::mm, sufr_constants::r2d, and sufr_angles::rev2().
Referenced by ams2().
pure character function, dimension(9) sufr_angle2string::amss | ( | real(double), intent(in) | angle | ) |
Print angle as mm:ss.ss string, input in rad.
angle | Angle (rad) |
amss | Angle as mm:ss.ss string |
Definition at line 1193 of file angle2string.f90.
References amss(), sufr_kinds::double, sufr_constants::mm, sufr_constants::r2d, and sufr_angles::rev().
Referenced by amss().
pure character function, dimension(5) sufr_angle2string::ass | ( | real(double), intent(in) | angle | ) |
Print angle as a string of ss.s", input in rad.
angle | Angle (rad) |
ass | Angle as a string of ss.s" |
Definition at line 1224 of file angle2string.f90.
References ass(), sufr_kinds::double, sufr_constants::r2d, and sufr_angles::rev().
Referenced by ass().
pure character function, dimension(9) sufr_angle2string::d1ms2 | ( | real(double), intent(in) | angle | ) |
Print angle as d.mm.ss string, input in rad, output between -9 and +9 !!!
angle | Angle (rad) |
d1ms2 | Angle as d.mm.ss string |
Definition at line 295 of file angle2string.f90.
References d1ms2(), sufr_kinds::double, sufr_constants::r2d, and sufr_angles::rev2().
Referenced by d1ms2().
pure character function, dimension(6) sufr_angle2string::ddd2 | ( | real(double), intent(in) | angle | ) |
Print angle as dd.d string, input in rad, output between -99.9 and +99.9 !!!
angle | Angle (rad) |
ddd2 | Angle as dd.d string |
Definition at line 613 of file angle2string.f90.
References ddd2(), sufr_kinds::double, sufr_constants::r2d, and sufr_angles::rev2().
Referenced by ddd2().
pure character function, dimension(10) sufr_angle2string::ddms2 | ( | real(double), intent(in) | angle | ) |
Print angle as dd.mm.ss string, input in rad, output between -99 and +99 - See wddms2() for HTML version.
angle | Angle (rad) |
ddms2 | Angle as dd.mm.ss string |
Definition at line 250 of file angle2string.f90.
References ddms2(), sufr_kinds::double, sufr_constants::r2d, and sufr_angles::rev2().
Referenced by ddms2().
pure character function, dimension(7) sufr_angle2string::dm | ( | real(double), intent(in) | angle | ) |
Print angle as ddd:mm string, input in rad.
angle | Angle (rad) |
dm | Angle as ddd:mm string |
Definition at line 400 of file angle2string.f90.
References dm(), sufr_kinds::double, sufr_constants::mm, sufr_constants::r2d, and sufr_angles::rev().
Referenced by dm().
pure character function, dimension(8) sufr_angle2string::dm2 | ( | real(double), intent(in) | angle | ) |
Print angle as ddd.mm string, input in rad, output between -180 and +180.
angle | Angle (rad) |
dm2 | Angle as ddd.mm string |
Definition at line 436 of file angle2string.f90.
References dm2(), sufr_kinds::double, sufr_constants::mm, sufr_constants::r2d, and sufr_angles::rev2().
Referenced by dm2().
pure character function, dimension(7) sufr_angle2string::dmm2 | ( | real(double), intent(in) | angle | ) |
Print angle as dd.mm string, input in rad, output between -99 and +99 !!!
angle | Angle (rad) |
dmm2 | Angle as dd.mm string |
Definition at line 477 of file angle2string.f90.
References dmm2(), sufr_kinds::double, sufr_constants::mm, sufr_constants::r2d, and sufr_angles::rev2().
Referenced by dmm2().
pure character function, dimension(9) sufr_angle2string::dmmm2 | ( | real(double), intent(in) | angle | ) |
Print angle as dd:mm.m string, input in rad, output between -99 and +99 !!!
angle | Angle (rad) |
dmmm2 | Angle as dd:mm.m string |
Definition at line 518 of file angle2string.f90.
References dmmm2(), sufr_kinds::double, sufr_constants::mm, sufr_constants::r2d, and sufr_angles::rev2().
Referenced by dmmm2().
pure character function, dimension(12) sufr_angle2string::dmmmmm2 | ( | real(double), intent(in) | angle, |
logical, intent(in), optional | nosymbols ) |
Print angle as dd:mm.mmm string (for gps), input in rad, output between -180 and +180 !!!
angle | Angle (rad) |
noSymbols | Do not print symbols (d,',") - use spaces instead; default: false (do use symbols) |
dmmmmm2 | Angle as dd.d string |
Definition at line 561 of file angle2string.f90.
References dmmmmm2(), sufr_kinds::double, sufr_constants::mm, sufr_constants::r2d, and sufr_angles::rev2().
Referenced by dmmmmm2().
pure character function, dimension(10) sufr_angle2string::dms | ( | real(double), intent(in) | angle | ) |
Print angle as ddd.mm.ss string, input in rad - See wdms() for HTML version.
angle | Angle (rad) |
dms | Angle as ddd.mm.ss string |
Definition at line 117 of file angle2string.f90.
References dms(), sufr_kinds::double, sufr_constants::mm, sufr_constants::r2d, and sufr_angles::rev().
Referenced by dms().
pure character function, dimension(11) sufr_angle2string::dms2 | ( | real(double), intent(in) | angle | ) |
Print angle as dms string, input in rad, output between -180 and +180 - See wdms2() for HTML version.
angle | Angle (rad) |
dms2 | Angle as dms string |
Definition at line 202 of file angle2string.f90.
References dms2(), sufr_kinds::double, sufr_constants::mm, sufr_constants::r2d, and sufr_angles::rev2().
Referenced by dms2().
pure character function, dimension(13) sufr_angle2string::dmss | ( | real(double), intent(in) | angle | ) |
Print angle as a ddd.mm.ss.ss string, input in rad.
angle | Angle (rad) |
dmss | Angle as a ddd.mm.ss.ss string |
Definition at line 159 of file angle2string.f90.
References dmss(), sufr_kinds::double, sufr_constants::mm, sufr_constants::r2d, and sufr_angles::rev().
Referenced by dmss().
pure character function, dimension(14) sufr_angle2string::dmss2 | ( | real(double), intent(in) | angle, |
logical, intent(in), optional | nosymbols ) |
Print angle as dms.ss string, input in rad, output between -180 and +180.
angle | Angle (rad) |
noSymbols | Do not print symbols (d,',") - use spaces instead; default: false (do use symbols) |
dmss2 | Angle as ddd:mm string |
Definition at line 341 of file angle2string.f90.
References dmss2(), sufr_kinds::double, sufr_constants::mm, sufr_constants::r2d, and sufr_angles::rev2().
Referenced by dmss2().
pure character function, dimension(7) sufr_angle2string::prs | ( | real(double), intent(in) | angle | ) |
Print separation angle (>0) as ddd.mm or mm.ss string, input in rad.
angle | Angle (rad) |
prs | Separation angle (>0) as ddd.mm or mm.ss string |
Definition at line 74 of file angle2string.f90.
References sufr_kinds::double, sufr_constants::mm, prs(), sufr_constants::r2d, and sufr_angles::rev().
Referenced by prs().
pure character function, dimension(20) sufr_angle2string::wams | ( | real(double), intent(in) | angle | ) |
Print angle as mm'ss.s" string, input in rad; HTML version of ams()
angle | Angle (rad) |
wams | Angle as mm'ss.s" HTML string |
Definition at line 1258 of file angle2string.f90.
References sufr_kinds::double, sufr_constants::mm, sufr_constants::r2d, sufr_angles::rev(), and wams().
Referenced by wams().
pure character function, dimension(21) sufr_angle2string::wams2 | ( | real(double), intent(in) | angle | ) |
Print angle as mm'ss.s" string, input in rad - html version of ams2()
angle | Angle (rad) |
wams2 | Angle as mm'ss.s" HTML string |
Definition at line 1290 of file angle2string.f90.
References sufr_kinds::double, sufr_constants::mm, sufr_constants::r2d, sufr_angles::rev2(), and wams2().
Referenced by wams2().
pure character function, dimension(21) sufr_angle2string::wamss | ( | real(double), intent(in) | angle | ) |
Print angle as HTML mm:ss.ss string, input in rad - HTML version of amss()
angle | Angle (rad) |
wamss | Angle as HTML mm:ss.ss string |
Definition at line 1328 of file angle2string.f90.
References sufr_kinds::double, sufr_constants::mm, sufr_constants::r2d, sufr_angles::rev(), and wamss().
Referenced by wamss().
pure character function, dimension(11) sufr_angle2string::wass | ( | real(double), intent(in) | angle | ) |
Print angle as a string of ss.s", input in rad - HTML version of ass()
angle | Angle (rad) |
wass | Angle as a HTML string of ss.s" |
Definition at line 1359 of file angle2string.f90.
References sufr_kinds::double, sufr_constants::r2d, sufr_angles::rev(), and wass().
Referenced by wass().
pure character function, dimension(25) sufr_angle2string::wd1ms2 | ( | real(double), intent(in) | angle | ) |
Print angle as d.mm.ss string, input in rad, output between -9 and +9 - HTML version of d1ms2.
angle | Angle (rad) |
wd1ms2 | Angle as d.mm.ss HTML string |
Definition at line 884 of file angle2string.f90.
References sufr_kinds::double, sufr_constants::r2d, sufr_angles::rev2(), and wd1ms2().
Referenced by wd1ms2().
pure character function, dimension(10) sufr_angle2string::wddd2 | ( | real(double), intent(in) | angle | ) |
Print angle as dd.d string, HTML version input in rad, output between -99.9 and +99.9 !!!
angle | Angle (rad) |
wddd2 | Angle as dd.d HTML string |
Definition at line 1087 of file angle2string.f90.
References sufr_kinds::double, sufr_constants::r2d, sufr_angles::rev2(), and wddd2().
Referenced by wddd2().
pure character function, dimension(26) sufr_angle2string::wddms2 | ( | real(double), intent(in) | angle | ) |
Print angle as dd.mm'ss" string, input in rad, output between -99 and +99 with °, ’ and ” HTML version of ddms2()
angle | Angle (rad) |
wddms2 | Angle as dd.mm'ss" HTML string |
Definition at line 836 of file angle2string.f90.
References sufr_kinds::double, sufr_constants::mm, sufr_constants::r2d, sufr_angles::rev2(), and wddms2().
Referenced by wddms2().
pure character function, dimension(17) sufr_angle2string::wdm | ( | real(double), intent(in) | angle | ) |
Print angle as ddd:mm string, input in rad with ° and ’ - HTML version of dm()
angle | Angle (rad) |
wdm | Angle as ddd:mm HTML string |
Definition at line 929 of file angle2string.f90.
References sufr_kinds::double, sufr_constants::mm, sufr_constants::r2d, sufr_angles::rev(), and wdm().
Referenced by wdm().
pure character function, dimension(18) sufr_angle2string::wdm2 | ( | real(double), intent(in) | angle | ) |
Print angle as ddd.mm string, input in rad, output between -180 and +180 with ° and ’.
angle | Angle (rad) |
wdm2 | Angle as ddd.mm HTML string |
Definition at line 964 of file angle2string.f90.
References sufr_kinds::double, sufr_constants::mm, sufr_constants::r2d, sufr_angles::rev2(), and wdm2().
Referenced by wdm2().
pure character function, dimension(17) sufr_angle2string::wdmm2 | ( | real(double), intent(in) | angle | ) |
Print angle as dd.mm string, HTML version input in rad, output between -99 and +99 !!!
angle | Angle (rad) |
wdmm2 | Angle as dd.mm string |
Definition at line 1006 of file angle2string.f90.
References sufr_kinds::double, sufr_constants::mm, sufr_constants::r2d, sufr_angles::rev2(), and wdmm2().
Referenced by wdmm2().
pure character function, dimension(19) sufr_angle2string::wdmmm2 | ( | real(double), intent(in) | angle | ) |
Print angle as dd:mm.m string, HTML version. Input in rad, output between -99 and +99 !!!
angle | Angle (rad) |
wdmmm2 | Angle as dd:mm.m HTML string |
Definition at line 1046 of file angle2string.f90.
References sufr_kinds::double, sufr_constants::mm, sufr_constants::r2d, sufr_angles::rev2(), and wdmmm2().
Referenced by wdmmm2().
pure character function, dimension(26) sufr_angle2string::wdms | ( | real(double), intent(in) | angle | ) |
Print angle as ddd.mm.ss string, input in rad with °, ’ and ” - HTML version of dms()
angle | Angle (rad) |
wdms | Angle as ddd.mm.ss HTML string |
Definition at line 651 of file angle2string.f90.
References sufr_kinds::double, sufr_constants::mm, sufr_constants::r2d, sufr_angles::rev(), and wdms().
Referenced by wdms().
pure character function, dimension(27) sufr_angle2string::wdms2 | ( | real(double), intent(in) | angle | ) |
Print angle as dms string, input in rad, output between -180 and +180 with °, ’ and ” -
HTML version of dms2()
angle | Angle (rad) |
wdms2 | Angle as dms HTML string |
Definition at line 737 of file angle2string.f90.
References sufr_kinds::double, sufr_constants::mm, sufr_constants::r2d, sufr_angles::rev2(), and wdms2().
Referenced by wdms2().
pure character function, dimension(29) sufr_angle2string::wdmss | ( | real(double), intent(in) | angle | ) |
Print angle as ddd.mm.ss.ss string, input in rad with °, ’ and ” - HTML version of dmss()
angle | Angle (rad) |
wdmss | Angle as ddd.mm.ss.ss HTML string |
Definition at line 693 of file angle2string.f90.
References sufr_kinds::double, sufr_constants::mm, sufr_constants::r2d, sufr_angles::rev(), and wdmss().
Referenced by wdmss().
pure character function, dimension(30) sufr_angle2string::wdmss2 | ( | real(double), intent(in) | angle | ) |
Print angle as ddd.mm.ss.ss string, input in rad, output between -180 and +180 with °, ’ and ” -
HTML version of dmss2()
angle | Angle (rad) |
wdmss2 | Angle as ddd.mm.ss.ss HTML string |
Definition at line 785 of file angle2string.f90.
References sufr_kinds::double, sufr_constants::mm, sufr_constants::r2d, sufr_angles::rev2(), and wdmss2().
Referenced by wdmss2().