![]() |
libSUFR
a LIBrary of Some Useful Fortran Routines
|
Procedures to handle angles. More...
Go to the source code of this file.
Modules | |
module | sufr_angles |
Procedures to handle angles. | |
Functions/Subroutines | |
pure real(double) function | sufr_angles::rev (ang) |
Returns angle in radians between 0 and 2pi. | |
pure real function | sufr_angles::rrev (ang) |
Returns angle in radians between 0 and 2pi – single precision. | |
pure real(double) function | sufr_angles::rev360 (ang) |
Returns angle in degrees between 0 and 360. | |
pure real(double) function | sufr_angles::rev2 (ang) |
Returns angle in radians between -pi and pi. | |
pure real function | sufr_angles::rrev2 (ang) |
Returns angle in radians between -pi and pi – single precision. | |
pure real(double) function | sufr_angles::revc (ang, cen) |
Returns angle in radians between cen-pi and cen+pi. | |
pure real(double) function | sufr_angles::rv (tm) |
Returns time in hours between 0 and 24. | |
pure real(double) function | sufr_angles::rv12 (tm) |
Returns time in hours between -12 and 12. | |
pure real(double) function | sufr_angles::rv180 (ang) |
Returns angle in degrees between -180 and 180. | |
pure real(double) function | sufr_angles::asep (l1, l2, b1, b2) |
Calculate the angular separation between two objects with given longitudes and latitudes. | |
pure real(double) function | sufr_angles::calpa (lon1, lon2, lat1, lat2) |
Calculates the position angle of object 2 with respect to object 1, COUNTERCLOCKWISE from the north. | |
pure character function, dimension(2) | sufr_angles::pastr_en (pa) |
Converts a position angle to one of eight English two-letter abbreviations (NE, SW) | |
pure character function, dimension(11) | sufr_angles::pastr_nl (pa) |
Converts a position angle to one of eight full Dutch strings (noordoosten, noorden) | |
pure character function, dimension(2) | sufr_angles::pastr_nls (pa) |
Converts a position angle to one of eight Dutch abbreviations (NO,ZW) | |
pure character function, dimension(14) | sufr_angles::wdstr_en (wd) |
Converts a wind direction/azimuth to one of 16 English wind directions (northnortheast, westsouthwest) | |
pure character function, dimension(3) | sufr_angles::wdstr_ens (wd) |
Converts a wind direction/azimuth to one of 16 three-letter English wind-direction abbreviations (NNE, WSW) | |
pure character function, dimension(3) | sufr_angles::wdstr_nls (wd) |
Converts a wind direction/azimuth to one of 16 three-letter Dutch wind-direction abbreviations (NNO, WZW) | |
pure character function, dimension(14) | sufr_angles::wdstr_nl (wd) |
Converts a wind direction/azimuth to one of 16 full Dutch wind-direction strings (noordnoordoost, zuidwest) | |
pure character function, dimension(2) | sufr_angles::wdstr_nls2 (wd) |
Converts a wind direction/azimuth to one of 8 two-letter Dutch secondary wind-direction abbreviations (NO, Z). Wrapper for pastr_nls(). | |
pure character function, dimension(9) | sufr_angles::wdstr_nl8 (wd) |
Converts a wind direction/azimuth to one of 8 full Dutch secondary wind-direction (noordoost, zuid). Derived from pastr_nl(). | |
Procedures to handle angles.
Definition in file angles.f90.