Opened 4 years ago

Closed 3 years ago

Last modified 3 years ago

#1760 closed Bug (fixed)

Creating child bathymetry with nesting tools from an existing child bathymetry does not work

Reported by: jchanut Owned by: jchanut
Priority: low Milestone:
Component: AGRIF Version: release-3.6
Severity: minor Keywords:
Cc: jchanut



Since global bathymetries at various resolutions already exist on ORCA grid, it is convenient to use them for nesting purpose. In other words one would like to use part of them as is, i.e. without any further interpolation on the child domain of interest. We expect that the nesting tool only performs the connection with the parent bathymetry at open boundaries.
The agrif_create_bathy tool handles this if the provided external bathymetry ("elevation_database") for the child domain:

  • has exactly the same size has the requested child domain
  • has exactly the same nav_lon/nav_lat arrays as the child coordinates


This fonctionality does not work because the logical "Pacifique" is not initialized (to .FALSE.) in agrif_create_bathy.f90 which leads to the modification of longitude arrays, which precludes from exact longitude matching.


Set "Pacifique" to "false" in function Read_coordinates (agrif_readwrite.f90) if it is the case.

Commit History (2)


Fixes ticket #1760


Fixes ticket #1760

Change History (2)

comment:1 Changed 3 years ago by clevy

  • Cc jchanut added
  • Status changed from new to assigned

comment:2 Changed 3 years ago by jchanut

  • Resolution set to fixed
  • Severity set to minor
  • Status changed from assigned to closed

Simply initialize "Pacifique" to false in agrif_create_bathy.f90

rev 8640 (nemo_3_6_stable)

rev 8641 (trunk)

Last edited 3 years ago by jchanut (previous) (diff)
Note: See TracTickets for help on using tickets.