File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 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
1111import os
Original file line number Diff line number Diff line change 11"""
22This 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
66import re
@@ -13,6 +13,7 @@ def unique_elements(inlist):
1313 unique .append (element )
1414 return unique
1515
16+
1617def prepend_type_to_member_id (member_type , member_id ):
1718 return (member_type + "_" + str (member_id )) if member_type else str (member_id )
1819
You can’t perform that action at this time.
0 commit comments