Type | Visibility | Attributes | Name | Initial | |||
---|---|---|---|---|---|---|---|
real(kind=dp), | private, | parameter | :: | pi | = | 3.141592653589793 |
The subroutine calculates the minimum distance from a given receptor point to a given line source.
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real, | intent(in) | :: | x0 |
Receptor point x-coordinate |
||
real, | intent(in) | :: | y0 |
Receptor point y-coordinate |
||
real, | intent(in) | :: | x1 |
Line source x-coordinate 1 |
||
real, | intent(in) | :: | y1 |
Line source y-coordinate 1 |
||
real, | intent(in) | :: | x2 |
Line source x-coordinate 2 |
||
real, | intent(in) | :: | y2 |
Line source y-coordinate 2 |
||
real, | intent(out) | :: | xm |
Minimum distance x-coordinate |
||
real, | intent(out) | :: | ym |
Minimum distance y-coordinate |
||
real, | intent(out) | :: | dm |
Minimum distance |
||
real | :: | wm |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real, | intent(in) | :: | x0 |
Receptor point x-coordinate |
||
real, | intent(in) | :: | y0 |
Receptor point y-coordinate |
||
real, | intent(in) | :: | x1 |
Line source x-coordinate 1 |
||
real, | intent(in) | :: | y1 |
Line source y-coordinate 1 |
||
real, | intent(in) | :: | x2 |
Line source x-coordinate 2 |
||
real, | intent(in) | :: | y2 |
Line source y-coordinate 2 |
||
real, | intent(out) | :: | xm |
Minimum distance x-coordinate |
||
real, | intent(out) | :: | ym |
Minimum distance y-coordinate |
||
real, | intent(out) | :: | dm_sqr |
Minimum distance |
||
real | :: | wm |
Local lon version (of ll2utm) without zone, so just typical Transverse Mecantor (Local Transverse Mecantor)
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | iutm |
UTM coordinate system indicator |
||
real, | intent(in) | :: | lon0 |
Central meridian of UTM zone |
||
real, | intent(in) | :: | lat |
Latitude in decimal degrees |
||
real, | intent(in) | :: | lon |
Longitude in decimal degrees |
||
real, | intent(out) | :: | utmn |
UTM north-coordinate (x) (meter from equator) |
||
real, | intent(out) | :: | utme |
UTM east-coordinate (y) (meter from west border) |
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | iutm |
UTM coordinate system indicator |
||
integer, | intent(in) | :: | isone_in |
UTM zone input? |
||
real, | intent(in) | :: | lat |
Latitude in decimal degrees |
||
real, | intent(in) | :: | lon |
Longitude in decimal degress |
||
real, | intent(out) | :: | utmn |
UTM east-coordinate (y) (meter from west border) |
||
real, | intent(out) | :: | utme |
UTM north-coordinate (x) (meter from equator) |
Local Transverse Mecantor version of utm2ll
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | iutm |
UTM coordinate system indicator |
||
integer, | intent(in) | :: | isone_in |
UTM zone |
||
real, | intent(in) | :: | la0 |
Tangeringsmeridian |
||
real, | intent(in) | :: | utmn_in |
UTM north-coordinate (X) (meter from equator) |
||
real, | intent(in) | :: | utme |
UTM east-coordinate (Y) (meter from west border) |
||
real, | intent(out) | :: | lat |
Latitude in decimal degrees |
||
real, | intent(out) | :: | lon |
Longitude in decimal degrees |
The subroutine prepares for reading the next uncommented line of data from file
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(inout) | :: | un | |||
logical, | intent(out) | :: | leof |
The subroutine converts UTM north- and east-coordinates to latitude and longitude
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
integer, | intent(in) | :: | iutm |
UTM coordinate system indicator |
||
integer, | intent(in) | :: | isone_in |
UTM zone |
||
real, | intent(in) | :: | utmn_in |
UTM north-coordinate (X) (meter from equator) |
||
real, | intent(in) | :: | utme |
UTM east-coordinate (Y) (meter from west border) |
||
real, | intent(out) | :: | lat |
Latitude in decimal degrees |
||
real, | intent(out) | :: | lon |
Longitude in decimal degrees |