#2008 closed Enhancement (fixed)
small fix for iceberg trajectory rebuilding script (icb_pp.py)
Reported by: | davestorkey | Owned by: | davestorkey |
---|---|---|---|
Priority: | low | Milestone: | 2018 release-4.0 |
Component: | OCE | Version: | |
Severity: | minor | Keywords: | OPA v4.0 |
Cc: | acc |
Description
Context
The TOOLS/MISCELLANEOUS/icb_pp.py script combines iceberg trajectory files (diagnostic files) from many processors into one file. If there are no icebergs in any of the trajectory files it currently falls over. It would be more helpful if in this case it simply output an empty trajectory file.
Proposal
Check to see if there are zero icebergs and if so output empty trajectory file.
Commit History (1)
Changeset | Author | Time | ChangeLog |
---|---|---|---|
9325 | davestorkey | 2018-02-13T17:28:22+01:00 | Small fix to TOOLS/MISCELLANEOUS/icb_pp.py. Ticket #2008. |
Change History (3)
comment:1 Changed 7 years ago by davestorkey
comment:2 Changed 7 years ago by davestorkey
- Resolution set to fixed
- Status changed from new to closed
New version of the script works if there are zero icebergs and gives the same answer as the old version of the script if there are some icebergs.
Committed change at revision 9325 of dev_merge_2017.
comment:3 Changed 3 years ago by nemo
- Keywords OPA v4.0 added
In 9325: