class_gribfile_mod Module


                                                            *

This is a class-like structure for providing access to the * metadata and data within a GRIB met file * * *


! Getter methods


Variables

Type Visibility Attributes Name Initial
integer, public, parameter :: GRIBFILE_TYPE_ECMWF_GRIB1 = 1
integer, public, parameter :: GRIBFILE_TYPE_ECMWF_GRIB2 = 2
integer, public, parameter :: GRIBFILE_TYPE_ECMWF_GRIB1_2 = 3
integer, public, parameter :: GRIBFILE_TYPE_NCEP_GRIB1 = 4
integer, public, parameter :: GRIBFILE_TYPE_NCEP_GRIB2 = 5
integer, public, parameter :: GRIBFILE_TYPE_UNKNOWN = -9999
integer, public, parameter :: GRIBFILE_CENTRE_NCEP = 1
integer, public, parameter :: GRIBFILE_CENTRE_ECMWF = 2
integer, public, parameter :: GRIBFILE_CENTRE_UNKNOWN = -9999

Derived Types

type, public ::  gribfile_object


Functions

public function gribfile_object_create(filepath)

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: filepath

Return Value type(gribfile_object)

public function gribfile_centre(filepath)

Arguments

Type IntentOptional Attributes Name
character(len=*), intent(in) :: filepath

Return Value integer

public function gribfile_num_xlon(gribfile_obj)

Arguments

Type IntentOptional Attributes Name
type(gribfile_object), intent(in) :: gribfile_obj

Return Value integer

public function gribfile_num_ylat(gribfile_obj)

Arguments

Type IntentOptional Attributes Name
type(gribfile_object), intent(in) :: gribfile_obj

Return Value integer

public function gribfile_num_zlevel(gribfile_obj)

Arguments

Type IntentOptional Attributes Name
type(gribfile_object), intent(in) :: gribfile_obj

Return Value integer


Subroutines

public subroutine gribfile_printobj(gribfile_obj)

Arguments

Type IntentOptional Attributes Name
type(gribfile_object), intent(in) :: gribfile_obj