New URL for NEMO forge!   http://forge.nemo-ocean.eu

Since March 2022 along with NEMO 4.2 release, the code development moved to a self-hosted GitLab.
This present forge is now archived and remained online for history.
#2008 (small fix for iceberg trajectory rebuilding script (icb_pp.py)) – NEMO

Opened 7 years ago

Closed 7 years ago

Last modified 3 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: 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)

ChangesetAuthorTimeChangeLog
9325davestorkey2018-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

In 9325:

Error: Failed to load processor CommitTicketReference
No macro or processor named 'CommitTicketReference' found

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
Note: See TracTickets for help on using tickets.