diff options
author | Joseph Hunkeler <jhunkeler@gmail.com> | 2021-08-03 14:41:53 -0400 |
---|---|---|
committer | Joseph Hunkeler <jhunkeler@gmail.com> | 2021-08-03 14:41:53 -0400 |
commit | af8fa097905186e0d8ba257e4d70d63fe8901264 (patch) | |
tree | 647de7ddd01c750e9a80849b3cf79efddf32d4b2 /Pltflux.f | |
download | moog-af8fa097905186e0d8ba257e4d70d63fe8901264.tar.gz |
Initial commit
Diffstat (limited to 'Pltflux.f')
-rwxr-xr-x | Pltflux.f | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/Pltflux.f b/Pltflux.f new file mode 100755 index 0000000..5332f45 --- /dev/null +++ b/Pltflux.f @@ -0,0 +1,45 @@ + + subroutine pltflux +c****************************************************************************** +c This subroutine controls the decisions that are made around the +c plots of flux curves +c****************************************************************************** + + implicit real*8 (a-h,o-z) + include 'Atmos.com' + include 'Linex.com' + include 'Pstuff.com' + + +c call up the flux plot + if (plotopt .eq. 0) return +10 choice = 'y' + plotroutine = 'term_land_flux' + lscreen = 12 + call makeplot (lscreen) + + +c make a hardcopy, write to a postscript file, or replot? + array = 'WHAT TO DO NEXT ([n]/h/f/r)? ' + lscreen = 12 + nchars = 33 + call getasci (nchars,lscreen) + choice = chinfo(1:1) + if (choice.eq.'n' .or. nchars.le.0) then + return + elseif (choice .eq. 'h') then + plotroutine = 'hard_land_flux' + call makeplot (lscreen) + elseif (choice .eq. 'r') then + go to 10 + elseif (choice .eq. 'f') then + plotroutine = 'file_land_flux' + call makeplot (lscreen) + endif + + return + end + + + + |