8 November 2010, eaton Extend the AR5 historical dataset through 2010. I discussed this with Jean-Francois and Rich Neale. The decision was to append the data for 2005 and 2015 from the rcp4.5 datasets to the current historical dataset. Start with the aero, oxid, and ozone datasets. The current historical files are: atm/cam/chem/trop_mozart_aero/aero/aero_1.9x2.5_L26_1850-2005_c091112.nc atm/cam/ozone/ozone_1.9x2.5_L26_1850-2005_c091112.nc atm/cam/chem/trop_mozart_aero/oxid/oxid_1.9x2.5_L26_1850-2005_c091123.nc Time coordinates: "days since 1849-01-01 00:00" 216 time samples: years are 1849, 1855, 1865, ..., 1995, 2000, 2006. These datasets repeat the 2000 climatology in year 2006. Remove this final year. create new files that contain samples 1-204: work on bluefire:/ptmp/eaton/inputdata/1850-2015/ dir=/fis/cgd/cseg/csm/inputdata/atm/cam % ncks -dtime,0,203 $dir/chem/trop_mozart_aero/aero/aero_1.9x2.5_L26_1850-2005_c091112.nc aero1.nc % ncks -dtime,0,203 $dir/ozone/ozone_1.9x2.5_L26_1850-2005_c091112.nc ozone1.nc % ncks -dtime,0,203 $dir/chem/trop_mozart_aero/oxid/oxid_1.9x2.5_L26_1850-2005_c091123.nc oxid1.nc The rcp45 files are: ==================== atm/cam/chem/trop_mozart_aero/aero/aero_rcp45_v1_1.9x2.5_L26_1995-2105_c100316.nc atm/cam/ozone/ozone_rcp45_v1_1.9x2.5_L26_1995-2105_c100316.nc atm/cam/chem/trop_mozart_aero/oxid/oxid_rcp45_v1_1.9x2.5_L26_1995-2105_c100316.nc Time coordinates: "days since 1994-01-01 00:00" 168 time samples: years are 1994, 1995, 2000, 2005, 2015, ..., 2105. Extract years 2005 and 2015 (time samples 37 - 60): % ncks -dtime,36,59 $dir/chem/trop_mozart_aero/aero/aero_rcp45_v1_1.9x2.5_L26_1995-2105_c100316.nc aero2.nc % ncks -dtime,36,59 $dir/ozone/ozone_rcp45_v1_1.9x2.5_L26_1995-2105_c100316.nc ozone2.nc % ncks -dtime,36,59 $dir/chem/trop_mozart_aero/oxid/oxid_rcp45_v1_1.9x2.5_L26_1995-2105_c100316.nc oxid2.nc Concatenate 1850-2000 with 2005-2015_rcp45 ========================================== % ncrcat aero1.nc aero2.nc aero3.nc % ncrcat ozone1.nc ozone2.nc ozone3.nc % ncrcat oxid1.nc oxid2.nc oxid3.nc Time coordinate file. ==================== Take the cdl template file from the aero_1.9x2.5_L26_1850-2005_c091112.readme file. Use bluefire:~/bin/print-time-coords to provide an updated set of time/date values netcdf date_time_1849-2015_c101108 { dimensions: time = UNLIMITED ; variables: int date(time) ; date:long_name = "date" ; date:format = "YYYYMMDD" ; double time(time) ; time:long_name = "time" ; time:units = "days since 1849-01-01 00:00" ; time:calendar = "noleap" ; data: date = 18490115, 18490215, 18490315, 18490415, 18490515, 18490615, 18490715, 18490815, 18490915, 18491015, 18491115, 18491215, 18550115, 18550215, 18550315, 18550415, 18550515, 18550615, 18550715, 18550815, 18550915, 18551015, 18551115, 18551215, 18650115, 18650215, 18650315, 18650415, 18650515, 18650615, 18650715, 18650815, 18650915, 18651015, 18651115, 18651215, 18750115, 18750215, 18750315, 18750415, 18750515, 18750615, 18750715, 18750815, 18750915, 18751015, 18751115, 18751215, 18850115, 18850215, 18850315, 18850415, 18850515, 18850615, 18850715, 18850815, 18850915, 18851015, 18851115, 18851215, 18950115, 18950215, 18950315, 18950415, 18950515, 18950615, 18950715, 18950815, 18950915, 18951015, 18951115, 18951215, 19050115, 19050215, 19050315, 19050415, 19050515, 19050615, 19050715, 19050815, 19050915, 19051015, 19051115, 19051215, 19150115, 19150215, 19150315, 19150415, 19150515, 19150615, 19150715, 19150815, 19150915, 19151015, 19151115, 19151215, 19250115, 19250215, 19250315, 19250415, 19250515, 19250615, 19250715, 19250815, 19250915, 19251015, 19251115, 19251215, 19350115, 19350215, 19350315, 19350415, 19350515, 19350615, 19350715, 19350815, 19350915, 19351015, 19351115, 19351215, 19450115, 19450215, 19450315, 19450415, 19450515, 19450615, 19450715, 19450815, 19450915, 19451015, 19451115, 19451215, 19550115, 19550215, 19550315, 19550415, 19550515, 19550615, 19550715, 19550815, 19550915, 19551015, 19551115, 19551215, 19650115, 19650215, 19650315, 19650415, 19650515, 19650615, 19650715, 19650815, 19650915, 19651015, 19651115, 19651215, 19750115, 19750215, 19750315, 19750415, 19750515, 19750615, 19750715, 19750815, 19750915, 19751015, 19751115, 19751215, 19850115, 19850215, 19850315, 19850415, 19850515, 19850615, 19850715, 19850815, 19850915, 19851015, 19851115, 19851215, 19950115, 19950215, 19950315, 19950415, 19950515, 19950615, 19950715, 19950815, 19950915, 19951015, 19951115, 19951215, 20000115, 20000215, 20000315, 20000415, 20000515, 20000615, 20000715, 20000815, 20000915, 20001015, 20001115, 20001215, 20050115, 20050215, 20050315, 20050415, 20050515, 20050615, 20050715, 20050815, 20050915, 20051015, 20051115, 20051215, 20150115, 20150215, 20150315, 20150415, 20150515, 20150615, 20150715, 20150815, 20150915, 20151015, 20151115, 20151215 ; time = 14, 45, 73, 104, 134, 165, 195, 226, 257, 287, 318, 348, 2204, 2235, 2263, 2294, 2324, 2355, 2385, 2416, 2447, 2477, 2508, 2538, 5854, 5885, 5913, 5944, 5974, 6005, 6035, 6066, 6097, 6127, 6158, 6188, 9504, 9535, 9563, 9594, 9624, 9655, 9685, 9716, 9747, 9777, 9808, 9838, 13154, 13185, 13213, 13244, 13274, 13305, 13335, 13366, 13397, 13427, 13458, 13488, 16804, 16835, 16863, 16894, 16924, 16955, 16985, 17016, 17047, 17077, 17108, 17138, 20454, 20485, 20513, 20544, 20574, 20605, 20635, 20666, 20697, 20727, 20758, 20788, 24104, 24135, 24163, 24194, 24224, 24255, 24285, 24316, 24347, 24377, 24408, 24438, 27754, 27785, 27813, 27844, 27874, 27905, 27935, 27966, 27997, 28027, 28058, 28088, 31404, 31435, 31463, 31494, 31524, 31555, 31585, 31616, 31647, 31677, 31708, 31738, 35054, 35085, 35113, 35144, 35174, 35205, 35235, 35266, 35297, 35327, 35358, 35388, 38704, 38735, 38763, 38794, 38824, 38855, 38885, 38916, 38947, 38977, 39008, 39038, 42354, 42385, 42413, 42444, 42474, 42505, 42535, 42566, 42597, 42627, 42658, 42688, 46004, 46035, 46063, 46094, 46124, 46155, 46185, 46216, 46247, 46277, 46308, 46338, 49654, 49685, 49713, 49744, 49774, 49805, 49835, 49866, 49897, 49927, 49958, 49988, 53304, 53335, 53363, 53394, 53424, 53455, 53485, 53516, 53547, 53577, 53608, 53638, 55129, 55160, 55188, 55219, 55249, 55280, 55310, 55341, 55372, 55402, 55433, 55463, 56954, 56985, 57013, 57044, 57074, 57105, 57135, 57166, 57197, 57227, 57258, 57288, 60604, 60635, 60663, 60694, 60724, 60755, 60785, 60816, 60847, 60877, 60908, 60938; } Overwrite the time and date variables in the joined files: ========================================================== % ncks --append -v date,time date_time_1849-2015_c101108.nc aero3.nc % ncks --append -v date,time date_time_1849-2015_c101108.nc ozone3.nc % ncks --append -v date,time date_time_1849-2015_c101108.nc oxid3.nc Rename files ============ % cp aero3.nc $dir/chem/trop_mozart_aero/aero/aero_1.9x2.5_L26_1850-2015_rcp45_c101108.nc % cp ozone3.nc $dir/ozone/ozone_1.9x2.5_L26_1850-2015_rcp45_c101108.nc % cp oxid3.nc $dir/chem/trop_mozart_aero/oxid/oxid_1.9x2.5_L26_1850-2015_rcp45_c101108.nc