NCEPLIBS-ip 4.0.0
ip_station_points_grid_mod.f90
1module ip_station_points_grid_mod
4 implicit none
5
6 ! Not really a grid
7 private
9
11 contains
12 procedure :: init_grib1
13 procedure :: init_grib2
14 procedure :: gdswzd => gdswzd_station_points
16
17contains
18
19 subroutine init_grib1(self, g1_desc)
20 class(ip_station_points_grid), intent(inout) :: self
21 type(grib1_descriptor), intent(in) :: g1_desc
22
23
24 end subroutine init_grib1
25
26 subroutine init_grib2(self, g2_desc)
27 class(ip_station_points_grid), intent(inout) :: self
28 type(grib2_descriptor), intent(in) :: g2_desc
29 end subroutine init_grib2
30
31 SUBROUTINE gdswzd_station_points(self,IOPT,NPTS, &
32 FILL,XPTS,YPTS,RLON,RLAT,NRET, &
33 CROT,SROT,XLON,XLAT,YLON,YLAT,AREA)
34 class(ip_station_points_grid), intent(in) :: self
35 INTEGER, INTENT(IN ) :: IOPT, NPTS
36 INTEGER, INTENT( OUT) :: NRET
37 !
38 REAL, INTENT(IN ) :: FILL
39 REAL, INTENT(INOUT) :: RLON(NPTS),RLAT(NPTS)
40 REAL, INTENT(INOUT) :: XPTS(NPTS),YPTS(NPTS)
41 REAL, OPTIONAL, INTENT( OUT) :: CROT(NPTS),SROT(NPTS)
42 REAL, OPTIONAL, INTENT( OUT) :: XLON(NPTS),XLAT(NPTS)
43 REAL, OPTIONAL, INTENT( OUT) :: YLON(NPTS),YLAT(NPTS),AREA(NPTS)
44
45 end subroutine gdswzd_station_points
46
47end module ip_station_points_grid_mod
48
49
50
Uses derived type grid descriptor objects to abstract away the raw Grib-1 and Grib-2 grid definitions...
Abstract ip_grid type.
Definition: ip_grid_mod.f90:8
Abstract grid that holds fields and methods common to all grids.
Definition: ip_grid_mod.f90:45