NCEPLIBS-ip 5.2.0
Loading...
Searching...
No Matches
ip_station_points_grid_mod.F90
Go to the documentation of this file.
1
5
11 use ip_grid_mod
12 implicit none
13
14 ! Not really a grid
15 private
17
19 contains
22 procedure :: init_grib1
25 procedure :: init_grib2
31
32contains
33
40 subroutine init_grib1(self, g1_desc)
41 class(ip_station_points_grid), intent(inout) :: self
42 type(grib1_descriptor), intent(in) :: g1_desc
43 end subroutine init_grib1
44
51 subroutine init_grib2(self, g2_desc)
52 class(ip_station_points_grid), intent(inout) :: self
53 type(grib2_descriptor), intent(in) :: g2_desc
54 end subroutine init_grib2
55
78 SUBROUTINE gdswzd_station_points(self,IOPT,NPTS, &
79 FILL,XPTS,YPTS,RLON,RLAT,NRET, &
80 CROT,SROT,XLON,XLAT,YLON,YLAT,AREA)
81 class(ip_station_points_grid), intent(in) :: self
82 INTEGER, INTENT(IN ) :: IOPT, NPTS
83 INTEGER, INTENT( OUT) :: NRET
84 !
85 REAL, INTENT(IN ) :: FILL
86 REAL, INTENT(INOUT) :: RLON(NPTS),RLAT(NPTS)
87 REAL, INTENT(INOUT) :: XPTS(NPTS),YPTS(NPTS)
88 REAL, OPTIONAL, INTENT( OUT) :: CROT(NPTS),SROT(NPTS)
89 REAL, OPTIONAL, INTENT( OUT) :: XLON(NPTS),XLAT(NPTS)
90 REAL, OPTIONAL, INTENT( OUT) :: YLON(NPTS),YLAT(NPTS),AREA(NPTS)
91
92 ! This is all that needs to be done for GDSWZD for station points.
93 nret = npts
94
95 end subroutine gdswzd_station_points
96
void gdswzd(int igdtnum, int *igdtmpl, int igdtlen, int iopt, int npts, float fill, float *xpts, float *ypts, float *rlon, float *rlat, int *nret, float *crot, float *srot, float *xlon, float *xlat, float *ylon, float *ylat, float *area)
gdswzd() interface for C for _4 build of library.
Users derived type grid descriptor objects to abstract away the raw GRIB1 and GRIB2 grid definitions.
Abstract ip_grid type.
Interpolate gridded data to a series of station points.
subroutine init_grib1(self, g1_desc)
Initializes an IP Station grid given a grib1_descriptor object.
subroutine gdswzd_station_points(self, iopt, npts, fill, xpts, ypts, rlon, rlat, nret, crot, srot, xlon, xlat, ylon, ylat, area)
Interpolate gridded data to a series of station points.
subroutine init_grib2(self, g2_desc)
Initializes an IP Station grid given a grib2_descriptor object.
Descriptor representing a grib1 grib descriptor section (GDS) with an integer array.
Grib-2 descriptor containing a grib2 GDT represented by an integer array.
Abstract grid that holds fields and methods common to all grids.