NCCOOS Trac Projects: Top | Web | Platforms | Processing | Viz | Sprints | Sandbox | (Wind)

Changeset 308

Show
Ignore:
Timestamp:
12/16/09 13:13:24
Author:
cbc
Message:

Fix NaN test for observation variables.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • sodar/branches/raw2proc-dev/proc_scintec_maindata_sfas.py

    r307 r308  
    8181             
    8282            for variable in profile.variables: 
    83                if variable not in manual and variable != gaps[variable]: 
     83               if variable not in manual and \ 
     84               observation[variable] != gaps[variable]: 
    8485                   data[variable.lower()][profile_index][observation_index] = \ 
    8586                       float(observation[variable])