Skip to content

Commit e5a37da

Browse files
Fixed seeds
1 parent 30ca93d commit e5a37da

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

engine/perturb.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
- Creating copies of specified model files and optionally copying all files from
66
a source directory to a destination directory.
77
- Applying perturbations to arrays in NetCDF files based on a specified
8-
perturbation amplitude and random seed.
8+
perturbation amplitude and fixed seed.
99
"""
1010

1111
import os

util/utils.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
"""
22
This module provides utility functions for list and string operations, as well as
3-
a function to generate seeds based on a member number for probtest.
3+
a function to get fixed seeds based on the ensemble member number.
44
"""
55

66
import re
@@ -13,6 +13,7 @@ def unique_elements(inlist):
1313
unique.append(element)
1414
return unique
1515

16+
1617
def prepend_type_to_member_id(member_type, member_id):
1718
return (member_type + "_" + str(member_id)) if member_type else str(member_id)
1819

0 commit comments

Comments
 (0)