Skip to content

Commit 0bc6481

Browse files
doc string: identity obs message
1 parent 29c6549 commit 0bc6481

1 file changed

Lines changed: 2 additions & 4 deletions

File tree

src/pydartdiags/matplots/matplots.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -236,9 +236,7 @@ def plot_rank_histogram(obs_seq, type, ens_size, levels=None):
236236
Args:
237237
obs_seq: The observation sequence object.
238238
type (str): The type of observation to filter by. For identity
239-
observations, use "IDENTITY_OBS" or a negative integer -x where
240-
x is the index in the DART state vector that the observation
241-
corresponds to.
239+
observations, use "IDENTITY_OBS" or a negative integer
242240
ens_size (int): The ensemble size.
243241
levels (list, optional): The levels to bin by. If None, no binning by level.
244242
@@ -254,7 +252,7 @@ def plot_rank_histogram(obs_seq, type, ens_size, levels=None):
254252
"Observation type is for identity observations."
255253
) # No filtering by type for identity obs
256254
if qc0.empty:
257-
print(f"No rows found for type: {type}")
255+
print(f"No rows found for IDENTITY_OBS")
258256
return None
259257

260258
else:

0 commit comments

Comments
 (0)