[Dart-dev] [3595] DART/trunk/obs_def/obs_def_gps_mod.f90: add missing but crucial return after ref_local() call -- if error, the istatus was getting reset to 0 and bad values were being used.

nancy at ucar.edu nancy at ucar.edu
Thu Sep 4 15:32:43 MDT 2008


An HTML attachment was scrubbed...
URL: http://mailman.ucar.edu/pipermail/dart-dev/attachments/20080904/3b7724c3/attachment.html
-------------- next part --------------
Modified: DART/trunk/obs_def/obs_def_gps_mod.f90
===================================================================
--- DART/trunk/obs_def/obs_def_gps_mod.f90	2008-09-04 16:10:26 UTC (rev 3594)
+++ DART/trunk/obs_def/obs_def_gps_mod.f90	2008-09-04 21:32:42 UTC (rev 3595)
@@ -462,6 +462,7 @@
 if(istatus0 > 0) then
    istatus = istatus0
    ro_ref = missing_r8
+   return
 endif
 
 choose: if(gps_data(gpskey)%gpsro_ref_form == 'GPSREF') then 


More information about the Dart-dev mailing list