grid_tools  1.10.0
global_equiv_resol.f90 File Reference

Compute the global equivalent resolution for regional grids. More...

Go to the source code of this file.

Functions/Subroutines

subroutine check (status)
 Check results of netCDF call. More...
 
program global_equiv_resol
 Compute the global equivalent resolution for regional grids using the average model grid cell size in meters squared. More...
 

Detailed Description

Compute the global equivalent resolution for regional grids.

Author
Gerard Ketefian NOAA/GSL

Definition in file global_equiv_resol.f90.

Function/Subroutine Documentation

◆ check()

subroutine check ( integer, intent(in)  status)

Check results of netCDF call.

Parameters
[in]statusreturn code to check
Author
Gerard Ketefian NOAA/GSL

Definition at line 193 of file global_equiv_resol.f90.

◆ global_equiv_resol()

program global_equiv_resol ( )

Compute the global equivalent resolution for regional grids using the average model grid cell size in meters squared.

  • RES(in km) = (360 degrees / 4*CRES) * 111 km

Using the average cell size the equivalent global resolution is:

  • CRES = NINT((2*PI*RADIUS_OF_EARTH)/(4*AVG_CELL_SIZE)
Author
Gerard Ketefian NOAA/GSL
Returns
0 for success, error code otherwise

Definition at line 16 of file global_equiv_resol.f90.

References check().