sfc_climo_gen
1.12.0
|
Output categorical data such as vegetation type. More...
Public Member Functions | |
subroutine, public | output_driver (data_one_tile, dom_cat_one_tile, lat_one_tile, lon_one_tile, i_mdl, j_mdl, num_categories, tile) |
Driver routine to output model categorical data. More... | |
subroutine | writeit (out_file, iout, jout, num_categories, latitude, longitude, data_pct, dominant_cat) |
Write data to a netcdf file. More... | |
Output categorical data such as vegetation type.
Include percentage of each category within a model grid box and the dominant category.
Definition at line 10 of file output_frac_cats.F90.
subroutine, public output_frac_cats::output_driver | ( | real(esmf_kind_r4), dimension(i_mdl,j_mdl,num_categories), intent(in) | data_one_tile, |
real(esmf_kind_r4), dimension(i_mdl,j_mdl), intent(in) | dom_cat_one_tile, | ||
real(esmf_kind_r4), dimension(i_mdl,j_mdl), intent(in) | lat_one_tile, | ||
real(esmf_kind_r4), dimension(i_mdl,j_mdl), intent(in) | lon_one_tile, | ||
integer, intent(in) | i_mdl, | ||
integer, intent(in) | j_mdl, | ||
integer, intent(in) | num_categories, | ||
integer, intent(in) | tile | ||
) |
Driver routine to output model categorical data.
[in] | data_one_tile | The percentage of each category within a model grid cell. |
[in] | dom_cat_one_tile | The dominant category within a model grid cell. |
[in] | lat_one_tile | Latitude of each model grid cell. |
[in] | lon_one_tile | Longitude of each model grid cell. |
[in] | i_mdl | i dimension of model grid. |
[in] | j_mdl | j dimension of model grid. |
[in] | num_categories | Number of categories. |
[in] | tile | Tile number. |
Definition at line 31 of file output_frac_cats.F90.
References writeit().
Referenced by interp_frac_cats().
subroutine output_frac_cats::writeit | ( | character(len=*), intent(in) | out_file, |
integer, intent(in) | iout, | ||
integer, intent(in) | jout, | ||
integer, intent(in) | num_categories, | ||
real(esmf_kind_r4), dimension(iout,jout), intent(in) | latitude, | ||
real(esmf_kind_r4), dimension(iout,jout), intent(in) | longitude, | ||
real(esmf_kind_r4), dimension(iout,jout,num_categories), intent(in) | data_pct, | ||
real(esmf_kind_r4), dimension(iout,jout), intent(in) | dominant_cat | ||
) |
Write data to a netcdf file.
[in] | out_file | Output file name. |
[in] | iout | i-dimension of data. |
[in] | jout | j-dimension of data. |
[in] | num_categories | Number of categories. |
[in] | latitude | Latitude of data. |
[in] | longitude | Longitude of data. |
[in] | data_pct | Percentage of each category in each model grid cell. |
[in] | dominant_cat | Dominant category in each model grid cell. |
Definition at line 112 of file output_frac_cats.F90.
References utils::netcdf_err().
Referenced by output_driver().