Opened 2 years ago

Closed 2 years ago

#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:
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)

ChangesetAuthorTimeChangeLog
9325davestorkey2018-02-13T17:28:22+01:00

Small fix to TOOLS/MISCELLANEOUS/icb_pp.py. Ticket #2008.

Change History (2)

comment:1 Changed 2 years ago by davestorkey

In 9325:

Small fix to TOOLS/MISCELLANEOUS/icb_pp.py. Ticket #2008.

comment:2 Changed 2 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.

Note: See TracTickets for help on using tickets.