sfc_climo_gen  1.8.0
driver.F90 File Reference

Interpolates static surface data from lat/lon grid, to FV3 model grid. More...

Go to the source code of this file.

Functions/Subroutines

program driver
 Reads static surface data on a global lat/lon grid, interpolates the data to the fv3 model grid, and outputs the result in netcdf format. More...
 

Detailed Description

Interpolates static surface data from lat/lon grid, to FV3 model grid.

Author
George Gayno

Definition in file driver.F90.

Function/Subroutine Documentation

◆ driver()

program driver ( )

Reads static surface data on a global lat/lon grid, interpolates the data to the fv3 model grid, and outputs the result in netcdf format.

Program execution is controlled by variables defined in the program configuration namelist (see module program_setup for details).

Requires the following input files: 1) Model mosaic file (netcdf) 2) Model orography files (netcdf) 3) Model grid files (netcdf) 4) Source data file on global lat/lon grid (netcdf)

Outputs surface data on the model tiles in netcdf format.

Returns
0 for success, error code otherwise.
Author
George Gayno

Definition at line 24 of file driver.F90.

References model_grid::define_model_grid(), source_grid::define_source_grid(), utils::error_handler(), program_setup::input_facsf_file, program_setup::input_leaf_area_index_file, program_setup::input_maximum_snow_albedo_file, program_setup::input_slope_type_file, program_setup::input_snowfree_albedo_file, program_setup::input_soil_type_file, program_setup::input_substrate_temperature_file, program_setup::input_vegetation_greenness_file, program_setup::input_vegetation_type_file, interp(), program_setup::leaf_area_index_method, program_setup::maximum_snow_albedo_method, model_grid::model_grid_cleanup(), program_setup::read_setup_namelist(), program_setup::snowfree_albedo_method, source_grid::source_grid_cleanup(), and program_setup::vegetation_greenness_method.