Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Further bug fixes on read_radar.f90 and stpcalc.f90
1. The deter_zsfc_model and deter_sfc2 in read_radar_l2rw subroutine should still be used. Otherwise the uninitialized skint and zsges may cause issue in debug mode. 2. The logic of L840-865 in stpcalc.f90 is supposed to find the historical minimum outpen looping i from 1 to nsteptot, where nsteptot can be greater than istp_iter (the maximum possible is 3*istp_iter+1 depend on how many times it tried to search). When it stored the minimum outpen stepsize at L846: stp(ii)=outstp(i) It used ii, which is istp_iter according to the if statement at L840. Then the istp_use at L848 should also be ii for consistency, otherwise it may exceed the array in debug mode. The if statement at L851 should use nsteptot instead of istp_iter as well. From @XuLu-NOAA
- Loading branch information