Opened 6 months ago

Last modified 11 days ago

#1869 new Enhancement

NESTING TOOLS AGRIF create restart files larger than 2GB (64bit_offset)

Reported by: Jan Harlass Owned by: Jerome Chanut
Priority: minor Milestone:
Component: AGRIF Version: nemo_v3_6_STABLE
Keywords: AGRIF nesting tools Cc:



Current NESTING TOOL version (rev. 7752) does not support NetCDF restart files larger than 2GB (64bit_offset) created with agrif_create_restart.exe.


Add 64 bit offset In: agrif_create_restart.f90

--- Version 7752
+++ Version working copy
@@ -113,13 +113,19 @@
   CALL set_child_name(parent_coordinate_file,Childcoordinates)   
   CALL set_child_name(parent_meshmask_file,Childbathy) 
   CALL set_child_name(parent_bathy_meter,Childbathymeter)   

   ! create this file
   IF( .NOT. dimg ) THEN           
      CALL set_child_name(restart_file,Child_file)
-     status = nf90_create(Child_file,NF90_WRITE,ncid)
+     status = nf90_create(Child_file,cmode=or(NF90_WRITE,NF90_64BIT_OFFSET),ncid=ncid)
      status = nf90_close(ncid)
      WRITE(*,*) 'Child grid restart file name = ',TRIM(Child_file)      
      WRITE(*,*) ''

Commit History (0)

(No commits)

Change History (3)

comment:1 Changed 6 months ago by nemo

  • Keywords nesting added; NESTING removed

comment:2 Changed 6 months ago by nemo

  • Keywords tools added; TOOLS removed

comment:3 Changed 11 days ago by Claire Levy

  • Owner changed from nemo to jchanut
Note: See TracTickets for help on using tickets.