orog_mask_tools
1.8.0
|
Write out data in netcdf format. More...
Go to the source code of this file.
Functions/Subroutines | |
subroutine | netcdf_err (err, string) |
Check NetCDF error code and output the error message. More... | |
subroutine | write_netcdf (im, jm, slm, land_frac, oro, orf, hprime, ntiles, tile, geolon, geolat, lon, lat) |
Write out orography file in netcdf format. More... | |
Write out data in netcdf format.
Definition in file netcdf_io.F90.
subroutine netcdf_err | ( | integer, intent(in) | err, |
character(len=*), intent(in) | string | ||
) |
Check NetCDF error code and output the error message.
[in] | err | NetCDF error code |
[in] | string | The NetCDF error message |
Definition at line 219 of file netcdf_io.F90.
Referenced by __mtnlm7_oclsm.f__(), gsl_oro_data_lg_scale::calc_gsl_oro_data_lg_scale(), gsl_oro_data_sm_scale::calc_gsl_oro_data_sm_scale(), TERSUB(), and write_netcdf().
subroutine write_netcdf | ( | integer, intent(in) | im, |
integer, intent(in) | jm, | ||
real, dimension(im,jm), intent(in) | slm, | ||
real, dimension(im,jm), intent(in) | land_frac, | ||
real, dimension(im,jm), intent(in) | oro, | ||
real, dimension(im,jm), intent(in) | orf, | ||
real, dimension(im,jm,14), intent(in) | hprime, | ||
integer, intent(in) | ntiles, | ||
integer, intent(in) | tile, | ||
real, dimension(im,jm), intent(in) | geolon, | ||
real, dimension(im,jm), intent(in) | geolat, | ||
real, dimension(im), intent(in) | lon, | ||
real, dimension(jm), intent(in) | lat | ||
) |
Write out orography file in netcdf format.
[in] | im | 'i' dimension of a model grid tile. |
[in] | jm | 'j' dimension of a model grid tile. |
[in] | slm | Land-sea mask. |
[in] | land_frac | Land fraction. |
[in] | oro | Orography |
[in] | orf | Filtered orography. Currently the same as 'oro'. |
[in] | hprime | The gravity wave drag fields on the model grid tile. |
[in] | ntiles | Number of tiles to output. |
[in] | tile | Tile number to output. |
[in] | geolon | Longitude on the model grid tile. |
[in] | geolat | Latitude on the model grid tile. |
[in] | lon | Longitude of the first row of the model grid tile. |
[in] | lat | Latitude of the first column of the model grid tile. |
Definition at line 22 of file netcdf_io.F90.
References netcdf_err().
Referenced by TERSUB().