Skip to content

Commit 4abc1e0

Browse files
authored
Modified the NaN condition for spectrograph observations. (#16)
1 parent 166c603 commit 4abc1e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

iris/sg/_spectrograph.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -320,7 +320,7 @@ def from_fits(
320320
t.format = "isot"
321321
self.inputs.time.ndarray = t
322322

323-
where_invalid = self.outputs < -10 * u.DN
323+
where_invalid = self.outputs == -200 * u.DN
324324
self.outputs[where_invalid] = np.nan
325325

326326
return self

0 commit comments

Comments
 (0)