Namespace canopy_dxcalc_mod
Namespace List > canopy_dxcalc_mod
Public Functions
| Type | Name |
|---|---|
| subroutine | canopy_calcdx (DXOPT DXOPT, DXSET DXSET, NLAT NLAT, NLON NLON, LAT LAT, LON LON, DX DX) Calculate grid cell distances for 1D arrays. |
| subroutine | canopy_calcdx_2d (DXOPT DXOPT, DXSET DXSET, NLAT NLAT, NLON NLON, LAT LAT, LON LON, DX DX) Calculate grid cell distances for 2D arrays. |
Public Functions Documentation
function canopy_calcdx
Calculate grid cell distances for 1D arrays.
subroutine canopy_dxcalc_mod::canopy_calcdx (
DXOPT DXOPT,
DXSET DXSET,
NLAT NLAT,
NLON NLON,
LAT LAT,
LON LON,
DX DX
)
Computes great circle distance or the orthodromic distance using Haversine formula for 1D latitude/longitude arrays
Parameters:
DXOPTUser DX calculation option (0=calculate, 1=use set value)DXSETUser DX set value if cannot calculate (m)NLATNumber of latitude grid cells/pointsNLONNumber of longitude grid cells/pointsLATModel latitudes array (degrees)LONModel longitudes array (degrees)DXDistance between two points (m)
Author:
P. C. Campbell
Date:
Oct 2022
Note:
Uses Haversine formula for great circle distance calculations
function canopy_calcdx_2d
Calculate grid cell distances for 2D arrays.
subroutine canopy_dxcalc_mod::canopy_calcdx_2d (
DXOPT DXOPT,
DXSET DXSET,
NLAT NLAT,
NLON NLON,
LAT LAT,
LON LON,
DX DX
)
Computes great circle distance or the orthodromic distance using Haversine formula for 2D latitude/longitude arrays
Parameters:
DXOPTUser DX calculation option (0=calculate, 1=use set value)DXSETUser DX set value if cannot calculate (m)NLATNumber of latitude grid cells/pointsNLONNumber of longitude grid cells/pointsLATModel latitudes 2D array (degrees)LONModel longitudes 2D array (degrees)DXDistance between two points 2D array (m)
Author:
P. C. Campbell
Date:
Oct 2022
Note:
Uses Haversine formula for great circle distance calculations
The documentation for this class was generated from the following file src/canopy_dxcalc_mod.F90