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

abort model when external surface emissivity file not existing for iemslw=1 #807

Closed
wants to merge 5 commits into from
Closed
Changes from 2 commits
Commits
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
6 changes: 4 additions & 2 deletions physics/radiation_surface.f
Original file line number Diff line number Diff line change
Expand Up @@ -247,10 +247,12 @@ subroutine sfc_init &
if ( me == 0 ) then
print *,' - Using Varying Surface Emissivity for lw'
print *,' Requested data file "',semis_file,'" not found!'
print *,' Change to fixed surface emissivity = 1.0 !'
endif
errmsg = 'module_radiation_surface: surface emissivity
& file not provided'
errflg = 1
return

iemslw = 0
else
close(NIRADSF)
open (NIRADSF,file=semis_file,form='formatted',status='old')
Expand Down