Opened 12 years ago

Closed 12 years ago

#257 closed Bug (fixed)

mpp_init_ioipsl sets incorrect halo attributes for mean files if jpnij .ne. jpni*jpnj

Reported by: acc Owned by: nemo
Priority: low Milestone:
Component: OCE Version: release-3.0
Severity: Keywords:
Cc:

Description

The mpp_init_ioipsl routine in mppini.F90 is used to set the values used by flio_dom_set. This
is turn sets the idompar values which determine the DOMAIN attributes written into NetCDF mean
files. Problems arise when jpnij is set less than jpni*jpnj and land only regions are eliminated.
In these cases the logic used in mpp_init_ioipsl to set the ihals and ihale values (which translate
into DOMAIN_halo_size_start and DOMAIN_halo_size_end attributes) is wrong. This can lead to incorrect combining of processor files into global datasets (usually manifest in an unset jpjglo row. The solution is to use the nldi,nldj,nlci,nlcj,nlei,nlej values in the same manner as IOM
defines the jpdom_local_noextra areas. The correct logic is applied in either mpp_init or mpp_init2
to set these correctly.

Commit History (1)

ChangesetAuthorTimeChangeLog
1238rblod2008-12-30T16:53:26+01:00

Adapt mpp_init_ioipsl for jpni*jpnj < jpnij, see ticket #257

Attachments (1)

mppini.F90 (18.3 KB) - added by nemo_user 12 years ago.
Suggested fix for mpp_init_ioipsl (ticket #257)

Download all attachments as: .zip

Change History (2)

Changed 12 years ago by nemo_user

Suggested fix for mpp_init_ioipsl (ticket #257)

comment:1 Changed 12 years ago by rblod

  • Resolution set to fixed
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.