UMD-AOSC / OceanObsQC

Offline quality control for ocean profile data
2 stars 1 forks source link

qc_step - spike check #5

Closed travissluka closed 4 years ago

travissluka commented 6 years ago

calculate the gradient of the values with depth, remove spikes:

travissluka commented 6 years ago

surface spikes

if (abs((pt(1)-pt(2))/(pz(2)-pz(1))) .gt. t1smax) then
  pt(1)=pt(2)

bottom spikes

if (abs((pt(np-1)-pt(np))/(pz(np)-pz(np-1))) .gt. tbsmax) then
  np = np - 1
hyunchul386 commented 6 years ago

For temperature and salinity profile, checking the surface and bottom spikiness is done in qc_profile. Now, surface spikiness check reject the bad profile and the bottom spikiness check can reject only bottom one.

travissluka commented 4 years ago

abandoning all issues from old UMD Hybrid-GODAS