Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PR to add and correct doxygen docblocks to emcsfc_snow2mdl.fd/*.f #348

Merged
merged 27 commits into from
Mar 1, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
27 commits
Select commit Hold shift + click to select a range
29fc351
3
GeorgeVandenberghe-NOAA Feb 22, 2021
83ce4a5
added a few ineffective doxygen commands to sorc/emcsfc_snow2mdl.fd/g…
GeorgeVandenberghe-NOAA Feb 22, 2021
2fd2491
removed test build files
GeorgeVandenberghe-NOAA Feb 22, 2021
d394abd
changes to add documentation to sorc/emcsfc_snow2mdl.fd/grib_utils.f
GeorgeVandenberghe-NOAA Feb 22, 2021
e5afa82
added skgb2 docblock into grib_check docblock. This is not permanent…
GeorgeVandenberghe-NOAA Feb 22, 2021
342194e
Merge branch 'develop' into gwv
edwardhartnett Feb 23, 2021
f43e11a
added formatting changes to grib_utils.f to improve appearnance and
GeorgeVandenberghe-NOAA Feb 23, 2021
1d2c62e
added repaired grib_utils.f file . This is the good one made by Ed Ha…
GeorgeVandenberghe-NOAA Feb 23, 2021
c4312a9
added model_grid.f changes.
GeorgeVandenberghe-NOAA Feb 23, 2021
ae5ff63
Merge remote-tracking branch 'upstream/develop' into gwv
GeorgeVandenberghe-NOAA Feb 23, 2021
b9512ca
moved contains to before docblock, fixed na comments in docblock, rem…
GeorgeVandenberghe-NOAA Feb 23, 2021
81e3dcc
doxygenated snowdat.f
GeorgeVandenberghe-NOAA Feb 24, 2021
0266c7d
repaired model_grid.f and snowdat.f doxygen blocks to remove generic …
GeorgeVandenberghe-NOAA Feb 24, 2021
f818f94
added @note to sections of snowdat.f
GeorgeVandenberghe-NOAA Feb 24, 2021
3012407
repaird author tag misformat and removed extraneous documentation spaces
GeorgeVandenberghe-NOAA Feb 24, 2021
01c51d6
added snow2mdl doxygen, round 1
GeorgeVandenberghe-NOAA Feb 24, 2021
09693a8
Merge branch 'develop' into gwv
edwardhartnett Feb 25, 2021
6556143
corrected multiple consecutive !! space issues, moved @author to bot…
GeorgeVandenberghe-NOAA Feb 25, 2021
46cff79
removed additional !! subprogram missed in previous proofreading
GeorgeVandenberghe-NOAA Feb 25, 2021
dba8041
corrected @date directives in snowdat.f
GeorgeVandenberghe-NOAA Feb 26, 2021
db0f1b8
added doxygen block to program_setup.f
GeorgeVandenberghe-NOAA Feb 26, 2021
c1f7306
added SOME documentation to mtnlm7_oclsm.f Most routines remain und…
GeorgeVandenberghe-NOAA Feb 26, 2021
e286081
Merge branch 'develop' into gwv
edwardhartnett Feb 26, 2021
a1e4500
punctuated sentences, removed hyphens, removed double param definitions
GeorgeVandenberghe-NOAA Feb 26, 2021
cbcefde
added module <-> specification matching docblock to snowdat.f First …
GeorgeVandenberghe-NOAA Feb 26, 2021
b932645
added complete sentences to documentation. fixed spacing in author …
GeorgeVandenberghe-NOAA Mar 1, 2021
1fa6597
Merge branch 'develop' into gwv
edwardhartnett Mar 1, 2021
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
114 changes: 39 additions & 75 deletions sorc/emcsfc_snow2mdl.fd/model_grid.f
Original file line number Diff line number Diff line change
@@ -1,8 +1,6 @@
!> @file
!! @brief Read in data defining the model grid.
!!
!! @author gayno org: w/np2 @date 2005-dec-16
!!
!! program history log:
!! - 2005-dec-16 gayno - initial version
!! - 2007-nov-30 gayno - improved method for thinning gfs grids.
Expand Down Expand Up @@ -32,6 +30,7 @@
!! - thinned - when true, global grids will run thinned
!! (# i points decrease toward pole)
!!
!! @author George Gayno org: w/np2 @date 2005-Dec-16
module model_grid

use program_setup, only : model_lsmask_file, &
Expand Down Expand Up @@ -59,56 +58,36 @@ module model_grid
real :: resol_mdl ! in km

contains

!> Read mdl grid.
!!
!! program history log:
!! 2005-dec-16 gayno - initial version
!! 2007-nov-30 gayno - Improved method for thinning gfs grids.
!! Added nam b-grids.
!! 2014-sep-29 gayno - Add option to read lat,lon and mask
!! data in grib2.
!! files:
!! inputs:
!! - model latitudes (grib 1 or grib 2)
!! - model longitudes (grib 1 or grib 2)
!! - model landmask (grib 1 or grib 2)
!! - number pts per row, gfs grid (the "lonsperlat" file, ascii)
!! condition codes: all fatal
!! 76 - bad open/read gfs "lonsperlat" file
!! 79 - unrecognized model grid
!! 80 - bad open model latitude file
!! 81 - bad read of model latitude grib 1 header
!! 82 - bad read of model latitude data
!! 83 - bad open model longitude file
!! 82 - bad read of model longitude data
!! 85 - bad open model landmask file
!! 86 - bad read of model landmask data
!! 90 - model latitude file not grib 1 or grib 2
!! 91 - model longitude file not grib 1 or grib 2
!! 92 - model landmask file not grib 1 or grib 2
!!
!! @author George Gayno org: w/np2 @date 2005-dec-16
subroutine read_mdl_grid_info
!$$$ subprogram documentation block
!
! subprogram: read_mdl_grid_info
! prgmmr: gayno org: w/np2 date: 2005-dec-16
!
! abstract: read latitude, longitude, land/sea mask on the
! model grid.
!
! program history log:
! 2005-dec-16 gayno - initial version
! 2007-nov-30 gayno - improved method for thinning gfs grids
! added nam b-grids
! 2014-sep-29 gayno - add option to read lat,lon and mask
! data in grib2.
!
! usage: call read_mdl_grid_info
!
! input argument list: n/a
!
! output argument list: n/a
!
! files:
! inputs:
! - model latitudes (grib 1 or grib 2)
! - model longitudes (grib 1 or grib 2)
! - model landmask (grib 1 or grib 2)
! - # pts per row, gfs grid (the "lonsperlat" file, ascii)
!
! outputs: none
!
! condition codes: all fatal
! 76 - bad open/read gfs "lonsperlat" file
! 79 - unrecognized model grid
! 80 - bad open model latitude file
! 81 - bad read of model latitude grib 1 header
! 82 - bad read of model latitude data
! 83 - bad open model longitude file
! 82 - bad read of model longitude data
! 85 - bad open model landmask file
! 86 - bad read of model landmask data
! 90 - model latitude file not grib 1 or grib 2
! 91 - model longitude file not grib 1 or grib 2
! 92 - model landmask file not grib 1 or grib 2
!
! remarks: none.
!
!$$$

use grib_mod ! grib 2 library

implicit none
Expand Down Expand Up @@ -590,33 +569,18 @@ subroutine read_mdl_grid_info
deallocate (lats_mdl_temp, lons_mdl_temp)

return

end subroutine read_mdl_grid_info


!> Clean up allocatable arrays.
!!
!! This deallocate this module's allocatable array.
!!
!! program history log:
!! 2005-dec-16 gayno - initial version
!!
!! @author George Gayno org: w/np2 @Date 2005-Dec-16
subroutine model_grid_cleanup
!$$$ subprogram documentation block
!
! subprogram: model_grid_cleanup
! prgmmr: gayno org: w/np2 date: 2005-dec-16
!
! abstract: this deallocate this module's allocatable array.
!
! program history log:
! 2005-dec-16 gayno - initial version
!
! usage: call model_grid_cleanup
!
! input argument list: n/a
!
! output argument list: n/a
!
! files: none
!
! condition codes: none
!
! remarks: none.
!
!$$$

implicit none

Expand Down
53 changes: 20 additions & 33 deletions sorc/emcsfc_snow2mdl.fd/program_setup.f
Original file line number Diff line number Diff line change
Expand Up @@ -76,40 +76,27 @@ module program_setup

contains

!> read namelist controls
!! @author George Gayno org: w/np2 @date 2005-Dec-16
!!
!! @note this subroutine reads the program's configuration namelist
!! that contains the the paths/filenames for input and output, and
!! other program control flags.
!!
!! program history log:
!! 2005-dec-16 gayno - initial version
!! 2008-feb-01 gayno - added read of autosnow path/file
!! 2014-sep-30 gayno - added read of 'output_grib2' flag.
!!
!! files:
!! input:
!! - program configuration namelist, fort.41
!!
!! condition codes: all fatal
!! 77 - bad open on configuration namelist
!! 78 - bad read on configuration namelist
!!
subroutine read_config_nml
!$$$ subprogram documentation block
! . . . .
! subprogram: read_config_nml
! prgmmr: gayno org: w/np2 date: 2005-dec-16
!
! abstract: this subroutine reads the program's configuration namelist
! that contains the the paths/filenames for input and output, and
! other program control flags.
!
! program history log:
! 2005-dec-16 gayno - initial version
! 2008-feb-01 gayno - added read of autosnow path/file
! 2014-sep-30 gayno - added read of 'output_grib2' flag.
!
! usage: call read_config_nml
!
! input argument list: n/a
!
! output argument list: n/a
!
! files:
! input:
! - program configuration namelist, fort.41
!
! output: none
!
! condition codes: all fatal
! 77 - bad open on configuration namelist
! 78 - bad read on configuration namelist
!
! remarks: none.
!
!$$$

implicit none

Expand Down
Loading