# restart files from LENS at year 402 **************** NOTES FOR V4 **************** # Copy the files from v3 REFCASE directory to v4 mkdir b.e11.B1850C5CN.f09_g16.005_yr402_cesm2_v4 cp -R b.e11.B1850C5CN.f09_g16.005_yr402_cesm2_v3 b.e11.B1850C5CN.f09_g16.005_yr402_cesm2_v4 # Rename all files from v3 to v4 and update the rpointer files; something like this (may not be exactly the right commands): for fl in *_v3*; do mv -v $fl ${fl/_v3/_v4}; done sed -i.bk -e 's/_v3/_v4/' rpointer* # Replace the CLM file # # This is the same as the v3 file, but run through init_interp for compatibility with clm5.0.dev006 and later. # This was done by running the test SMS_Ld7.f09_g17.B1850.cheyenne_intel.allactive-defaultio # using cesm at cesm2_0_alpha10c-6-g505caa8 and clm at clm5.0.dev006-3-gda5171d (branch init_interp_same_grid) # with the following user_nl_clm settings: # use_init_interp = .true. # init_interp_method = 'use_finidat_areas' cp /glade/scratch/sacks/SMS_Ld7.f09_g17.B1850.cheyenne_intel.allactive-defaultio.20180424_094803_868748/run/finidat_interp_dest.nc b.e11.B1850C5CN.f09_g16.005_yr402_cesm2_v4.clm2.r.0402-01-01-00000.nc **************** NOTES FOR V3 **************** # Copy the files from v2 REFCASE directory to v3 cp -pr b.e11.B1850C5CN.f09_g16.005_yr402_cesm2_v2 b.e11.B1850C5CN.f09_g16.005_yr402_cesm2_v3 # Replace the CLM file cp -p /glade/scratch/hannay/b.e20.B1850.f09_g17.pi_control.all.262c/run/b.e20.B1850.f09_g17.pi_control.all.262c.clm2.r.0241-01-01-00000.nc b.e11.B1850C5CN.f09_g16.005_yr402_cesm2_v3.clm2.r.0402-01-01-00000.nc # Rename all other files from v2 to v3 and update the rpointer files **************** NOTES FOR V2 **************** # Copy the files from v1 REFCASE directory to v2 cp -rp b.e11.B1850C5CN.f09_g16.005_yr402_cesm2_v1/* b.e11.B1850C5CN.f09_g16.005_yr402_cesm2_v2 # Replace the CISM file cp /glade/p/cesmdata/cseg/inputdata/ccsm4_init/b.e20.B1850.f09_g17.pi_control.all.149.cism/0103-01-01/b.e20.B1850.f09_g17.pi_control.all.149.cism.cism.r.0103-01-01-00000.nc b.e11.B1850C5CN.f09_g16.005_yr402_cesm2_v2.cism.r.0402-01-01-00000.nc # Rename all other files from v1 to v2 and updated the rpointer files **************** NOTES FROM V1 **************** # restart files from LENS at year 402 cp /glade/p/cesm/cseg/inputdata/ccsm4_init/b.e11.B1850C5CN.f09_g16.005_v3/0402-01-01/* . #Rename all files so that they have the REFCASE name mv b.e15.B1850_WW3.f09_g16.lang_redi_2hr_frz_chl.003.cam.i.0097-01-01-00000.nc b.e11.B1850C5CN.f09_g16.005_yr402_cesm2_v1.cam.i.0402-01-01-00000.nc mv b.e11.B1850C5CN.f09_g16.005_8.3lyr.cice5.r.0402-01-01-00000_revised.nc b.e11.B1850C5CN.f09_g16.005_yr402_cesm2_v1.cice.r.0402-01-01-00000.nc mv b.e11.B1850C5CN.f09_g16.005.pop.r.0402-01-01-00000_BGC_MP.3.nc b.e11.B1850C5CN.f09_g16.005_yr402_cesm2_v1.pop.r.0402-01-01-00000.nc mv b.e11.B1850C5CN.f09_g16.005.pop.ro.0402-01-01-00000 b.e11.B1850C5CN.f09_g16.005_yr402_cesm2_v1.pop.ro.0402-01-01-00000 cp /glade/p/cesm0005/archive/b.e20.B1850.f09_g17.pi_control.all.187//rest/0034-01-01-00000/b.e20.B1850.f09_g17.pi_control.all.187.clm2.r.0034-01-01-00000.nc b.e11.B1850C5CN.f09_g16.005_yr402_cesm2_v1.clm2.r.0402-01-01-00000.nc mv b.e15.B1850_WW3.f09_g16.lang_redi_2hr_frz_chl.003.mosart.r.0097-01-01-00000.nc b.e11.B1850C5CN.f09_g16.005_yr402_cesm2_v1.mosart.r.0402-01-01-00000.nc mv b.e15.B1850_WW3.f09_g16.lang_redi_2hr_frz_chl.003.cpl.r.0097-01-01-00000.nc b.e11.B1850C5CN.f09_g16.005_yr402_cesm2_v1.cpl.r.0402-01-01-00000.nc mv b.e15.B1850_WW3.f09_g16.lang_redi_2hr_frz_chl.003.cism.r.0097-01-01-00000.nc b.e11.B1850C5CN.f09_g16.005_yr402_cesm2_v1.cism.r.0402-01-01-00000.nc #REMOVED THE REMAINING FILES FROM THE COPY COMMAND