grid_integer Derived Type

type, public :: grid_integer


Components

Type Visibility Attributes Name Initial
integer(kind=short), public, ALLOCATABLE :: Iraster(:,:)

used to transform not regular grid to regular raster

integer(kind=short), public, ALLOCATABLE :: Jraster(:,:)

used to transform not regular grid to regular raster georeferencing informations

real(kind=float), public :: cellsize
type(DateTime), public :: current_time

current date and time of the grid in memory

character(len=1000), public :: esri_pe_string

used by ArcMap 9.2

character(len=300), public :: file_name

name of the file from which grid was read

type(CRS), public :: grid_mapping

Coordinate reference System

integer(kind=short), public :: idim

number of rows

integer(kind=short), public :: jdim

number of columns

character(len=300), public :: long_name

long descriptive name

integer(kind=long), public, ALLOCATABLE :: mat(:,:)

data contained in grid

type(DateTime), public :: next_time

time when next update is required

integer(kind=short), public :: nodata

scalar identifying missing value

type(DateTime), public :: reference_time

reference time from which calculate current

character(len=300), public :: standard_name

CF 1.0 compliant standard name

integer(kind=short), public :: time_index

position of grid in time dimension in netcdf file

character(len=7), public :: time_unit

define time unit. Accepted values are: seconds, second, sec, s minutes, minute, min hours, hour, hr, h days, day, d

character(len=30), public :: units

UDUNITS compliant measure units

integer(kind=long), public :: valid_max

maximum valid value

integer(kind=long), public :: valid_min

minimum valid value

character(len=300), public :: var_name

name of the variable

character(len=20), public :: varying_mode

mode to vary: steady, sequence, linear

real(kind=float), public :: xllcorner
real(kind=float), public :: yllcorner

Source Code

TYPE grid_integer
  INTEGER (KIND = short) :: jdim            !!number of columns
  INTEGER (KIND = short) :: idim            !!number of rows
  CHARACTER (LEN = 300)  :: standard_name   !! CF 1.0 compliant standard name
  CHARACTER (LEN = 300)  :: var_name        !! name of the variable
  CHARACTER (LEN = 300)  :: long_name       !! long descriptive name
  CHARACTER (LEN = 300)  :: file_name       !! name of the file from which grid was read
  CHARACTER (LEN = 30)   :: units           !!UDUNITS compliant measure units
  CHARACTER (LEN = 20)   :: varying_mode    !!mode to vary: steady, sequence, linear
  INTEGER (KIND = short)  :: nodata   !!scalar identifying missing value
  INTEGER (KIND = long)  :: valid_min       !!minimum valid value
  INTEGER (KIND = long)  :: valid_max       !!maximum valid value
  TYPE (DateTime)        :: reference_time  !!reference time from which calculate current
  TYPE (DateTime)        :: current_time    !!current date and time of the grid in memory
  TYPE (DateTime)        :: next_time       !!time when next update is required
  INTEGER (KIND = short) :: time_index      !!position of grid in time dimension in netcdf file
  CHARACTER (LEN = 7)    :: time_unit       !!define time unit. Accepted values are: 
                                            !!seconds, second, sec, s
                                            !!minutes, minute, min
                                            !!hours, hour, hr, h
                                            !!days, day, d
  INTEGER (KIND = long), ALLOCATABLE   :: mat(:,:)!!data contained in grid
  INTEGER (KIND = short), ALLOCATABLE :: Iraster (:,:) !!used to transform not regular grid to regular raster
  INTEGER (KIND = short), ALLOCATABLE :: Jraster (:,:) !!used to transform not regular grid to regular raster
  !!georeferencing informations
  REAL (KIND = float)    :: cellsize  
  REAL (KIND = float)    :: xllcorner
  REAL (KIND = float)    :: yllcorner 
  CHARACTER (LEN = 1000) :: esri_pe_string !!used by ArcMap 9.2
  TYPE (CRS)             :: grid_mapping !!Coordinate reference System
END TYPE grid_integer