Opened 7 years ago

Closed 7 years ago

#1103 closed Bug (fixed)

mask send to IOM is wrong (ln_mskland=TRUE)

Reported by: marti Owned by: nemo
Priority: normal Milestone: Unscheduled
Component: OCE Version: trunk
Severity: Keywords:
Cc:

Description

In iom.F90, starting line 1103 :

CALL iom_set_domain_attr( "grid_"//cdgrd       , mask = zmask(:,:,1) /= 0. )
CALL iom_set_grid_attr  ( "grid_"//cdgrd//"_3D", mask = zmask(:,:,:) /= 0. )

iom waits masks without halos. This should be done like for lon/lat, few lines above. Following lines seems OK:

CALL iom_set_domain_attr( "grid_"//cdgrd       , mask = RESHAPE(zmask(nldi:nlei, nldj:nlej, 1),(/ ni*nj /)    /= 0. )
CALL iom_set_domain_attr( "grid_"//cdgrd//"_3D", mask = RESHAPE(zmask(nldi:nlei, nldj:nlej, :),(/ ni*nj*nk /) /= 0. )

That's all folks !

Olivier

Commit History (1)

ChangesetAuthorTimeChangeLog
3907smasson2013-06-07T14:52:15+02:00

bugfix on mask sent to iom, see ticket #1103

Change History (1)

comment:1 Changed 7 years ago by smasson

  • Resolution set to fixed
  • Status changed from new to closed

done, see changeset r3907

Note: See TracTickets for help on using tickets.