Opened 8 months ago

Last modified 2 months ago

#1872 assigned Enhancement

NESTING TOOLS AGRIF read updated bathymetry for creating agrif restarts

Reported by: Jan Harlass Owned by: sciliberti
Priority: low Milestone:
Component: AGRIF Version: release-3.6
Keywords: AGRIF bathymetry nesting Cc: sciliberti
Severity: Workplan status:
Comments:

Description

Context

Use bathy_updated from base model to correctly compute masks (partial steps) for nest restart creation.

Changes

agrif_create_restart.f90

  • (a) Revision vs. (b) Working

    a b  
    113113  !        
    114114  CALL set_child_name(parent_coordinate_file,Childcoordinates)    
    115115  CALL set_child_name(parent_meshmask_file,Childbathy)  
    116116  CALL set_child_name(parent_bathy_meter,Childbathymeter)    
     117  ! use bathy_updated for base model ONLY, if bathy_update=true in namelist.input 
     118  IF (bathy_update) THEN 
     119    parent_bathy_meter=updated_parent_file 
     120  END IF 
     121 
    117122  ! create this file 
    118123  ! 
     
    164170     ! 
    165171  ENDIF 
    166172  ! 
     173  WRITE(*,*) 'Reading Bathymetry: ',TRIM(parent_bathy_meter) 
     174  CALL Read_Ncdf_var('Bathymetry',parent_bathy_meter,G0%bathy_meter) 
     175   
     176  WRITE(*,*) 'Reading mbathy    : ',TRIM(parent_meshmask_file) 
    167177  CALL Init_mask(parent_meshmask_file,G0,x,y) 
     178  WRITE(*,*) 
     179  WRITE(*,*) 'Reading Bathymetry: ',TRIM(Childbathymeter) 
     180  CALL Read_Ncdf_var('Bathymetry',Childbathymeter,G1%bathy_meter) 
     181  WRITE(*,*) 'Reading mbathy    : ',TRIM(childbathy) 
    168182  CALL Init_mask(childbathy,G1,1,1) 
    169183 
    170184  G0%tmask = 1.    

Commit History (0)

(No commits)

Change History (4)

comment:1 Changed 8 months ago by nemo

  • Keywords nesting added; NESTING removed

comment:2 Changed 8 months ago by Jerome Chanut

  • Component changed from OPA to AGRIF

comment:3 Changed 2 months ago by Claire Levy

  • Owner changed from nemo to jchanut

comment:4 Changed 2 months ago by Claire Levy

  • Cc sciliberti added
  • Owner changed from jchanut to sciliberti
  • Status changed from new to assigned
Note: See TracTickets for help on using tickets.