MI - Fimex
Data Types | Modules | Functions/Subroutines
fimex.f90 File Reference

Fimex F90 interface. More...

Data Types

type  fimex::fimexio
 Class to store file-handles for the high-level API. More...
 
interface  fimex::c_mifi_new_io_reader
 F90-wrapper for mifi_new_io_reader() More...
 
interface  fimex::c_mifi_new_cdminterpolator
 F90-wrapper for mifi_new_cdminterpolator() More...
 
interface  fimex::c_mifi_new_lonlat_interpolator
 F90-wrapper for mifi_new_cdminterpolator() More...
 
interface  fimex::c_mifi_get_variable_number
 
interface  fimex::c_mifi_get_variable_name
 
interface  fimex::c_mifi_get_variable_type
 F90-wrapper for mifi_get_variable_type() More...
 
interface  fimex::c_mifi_get_dimension_number
 
interface  fimex::c_mifi_get_dimension_name
 
interface  fimex::c_mifi_get_unlimited_dimension_name
 
interface  fimex::c_mifi_get_dimension_size
 F90-wrapper for mifi_get_variable_type() More...
 
interface  fimex::c_mifi_get_unique_forecast_reference_time
 F90-wrapper for mifi_get_unique_forecast_reference_time() More...
 
interface  fimex::c_mifi_get_var_longitude
 F90-wrapper for mifi_get_var_longitude() More...
 
interface  fimex::c_mifi_get_var_latitude
 F90-wrapper for mifi_get_var_latitude() More...
 
interface  fimex::c_mifi_new_slicebuilder
 F90-wrapper for mifi_new_slicebuilder() More...
 
interface  fimex::c_mifi_slicebuilder_ndims
 F90-wrapper for mifi_slicebuilder_ndims() More...
 
interface  fimex::c_mifi_slicebuilder_get_start_size
 F90-wrapper for mifi_slicebuilder_get_start_size() More...
 
interface  fimex::c_mifi_slicebuilder_get_axistype
 F90-wrapper for mifi_slicebuilder_get_axistype() More...
 
interface  fimex::c_mifi_slicebuilder_set_dim_start_size
 F90-wrapper for mifi_slicebuilder_set_dim_start_size() More...
 
interface  fimex::c_mifi_slicebuilder_dimname
 F90-wrapper for mifi_slicebuilder_dimname() More...
 
interface  fimex::c_mifi_fill_scaled_double_dataslice
 F90-wrapper for mifi_fill_scaled_double_dataslice() More...
 
interface  fimex::c_mifi_write_scaled_double_dataslice
 F90-wrapper for mifi_write_scaled_double_dataslice() More...
 
interface  fimex::c_mifi_read_field
 F90-wrapper for mifi_read_field() More...
 
interface  fimex::c_mifi_free_slicebuilder
 F90-wrapper for mifi_free_slicebuilder() More...
 
interface  fimex::c_mifi_free_cdm_reader
 F90-wrapper for mifi_free_cdm_reader() More...
 
interface  fimex::c_mifi_get_filetype
 F90-wrapper for mifi_get_filetype() More...
 

Modules

module  fimex
 Fimex Fortran90 interface.
 

Functions/Subroutines

integer function fimex::set_filetype (filetype_name, flag)
 translate the filetype from string to internal number More...
 
integer function fimex::open_file (this, infile, config, filetype, varName)
 Open a new data-soure. More...
 
integer function fimex::new_interpolator (this, fio, method, proj_input, out_x_axis, out_y_axis, out_is_degree)
 Create a new interpolated data-soure from an existing FimexIO. More...
 
integer function fimex::new_lonlat_interpolator (this, fio, method, lonvals, latvals)
 Create a new interpolated data-soure from an existing FimexIO. More...
 
real(kind=c_double) function fimex::get_unique_forecast_reference_time (this, unit)
 Get the files unique forecast_reference_time. More...
 
character(len=1024) function fimex::get_file_ulim_dimension_name (this)
 Get the name of the unlimited dimension (in most cases, time-dimension) More...
 
integer(kind=c_long_long) function fimex::get_file_dimensions_size (this)
 Get the number of dimensions in the file. More...
 
character(len=1024) function fimex::get_file_dimension_name (this, pos)
 Get the name of the dimension at position pos. More...
 
integer(kind=c_long_long) function fimex::get_variables_size (this)
 Get the number of variables in the file. More...
 
character(len=1024) function fimex::get_variable_name (this, pos)
 Get the name of the variable at position pos. More...
 
integer(kind=c_long) function fimex::get_variable_type (this, varName)
 Get the type of a variable This function will read the type of a variable as the CDM_* enum. More...
 
integer function fimex::get_dimensions (this, varName)
 Get the number of dimensions of a variable. This function will internally initialize a slicebuilder, too, so all data and dimension-fetching will be against this variable. More...
 
character(len=1024) function fimex::get_dimname (this, pos)
 Get the dimension-name at a position Get the dimension at a position between 1 and get_dimensions() The position is directly related to the position in the return arrays of get_dimension_start_size() More...
 
integer(kind=c_long) function fimex::get_dimension_size (this, dimName)
 Get the global size of a file's dimension Get the dimension-size of a dimension of the file. More...
 
integer function fimex::get_dimension_start_size (this, start, vsize)
 Get the current start-position and current size for the current variable dimensions. Get the start-position and size for each dimension of the variable set with the last get_dimensions() call. Initially, start is 0 for each dimension and size is the full dimension size. This can be changed with reduce_dimension(). More...
 
integer function fimex::get_axistypes (this, atypes)
 Get the types of the axes. The types are the same as in MetNoFimex::CoordinateAxis::AxisType. Compare against AXIS_Time, AXIS_GeoX, ... enumerated constants. More...
 
character(len=1024) function fimex::get_var_longitude (this, varName)
 Get the name of the variable with longitude values for the variable varName the data-variable. More...
 
character(len=1024) function fimex::get_var_latitude (this, varName)
 Get the name of the variable with latitude values for the variable varName the data-variable. More...
 
integer function fimex::reduce_dimension (this, dimName, start, dsize)
 Reduce the dimension by setting a start and size. More...
 
integer function fimex::read_data (this, varname, field, cunit)
 Read data to a 1-d field. To work with n-d arrays, use the fortran rank remapping feature of fortran2003: More...
 
integer function fimex::write_data (this, varname, field, cunit)
 Write data to a file. More...
 
integer function fimex::close_file (this)
 Cleanup internally kept handles and close the file. More...
 

Detailed Description

Fimex F90 interface.