sed 's/VARIABLE/T_GRND/g' swap_years.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/T_GRND/g' swap_years.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/T_GRND_R/g' swap_years.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/T_GRND_U/g' swap_years.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/TREFAV_VALUE/g' swap_years_pft.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/TREFAV_U_VALUE/g' swap_years_pft.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/TREFAV_R_VALUE/g' swap_years_pft.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/T_VEG24_VALUE/g' swap_years_pft.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/T_VEG240_VALUE/g' swap_years_pft.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/LAI240_VALUE/g' swap_years_pft.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/FRAC_VEG_NOSNO_ALB/g' swap_years_pft.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/tlai/g' swap_years_pft.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/tsai/g' swap_years_pft.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/elai/g' swap_years_pft.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/esai/g' swap_years_pft.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/htop/g' swap_years_pft.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/hbot/g' swap_years_pft.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/mlaidiff/g' swap_years_pft.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/fsun/g' swap_years_pft.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/EFLX_LWRAD_OUT/g' swap_years_pft.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/n_irrig_steps_left/g' swap_years_pft.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/irrig_rate/g' swap_years_pft.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/T_VEG/g' swap_years_pft.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/T_REF2M/g' swap_years_pft.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/T_REF2M_R/g' swap_years_pft.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/T_REF2M_U/g' swap_years_pft.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/T_REF2M_MIN/g' swap_years_pft.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/T_REF2M_MIN_R/g' swap_years_pft.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/T_REF2M_MIN_U/g' swap_years_pft.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/T_REF2M_MAX/g' swap_years_pft.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/T_REF2M_MAX_R/g' swap_years_pft.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/T_REF2M_MAX_U/g' swap_years_pft.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/T_REF2M_MIN_INST_R/g' swap_years_pft.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/T_REF2M_MIN_INST_U/g' swap_years_pft.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/T_REF2M_MAX_INST/g' swap_years_pft.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/T_REF2M_MAX_INST_R/g' swap_years_pft.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/T_REF2M_MAX_INST_U/g' swap_years_pft.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/H2OCAN/g' swap_years_pft.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/FWET/g' swap_years_pft.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/albi/g' swap_years_pft.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/tlai_z/g' swap_years_pft.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/tsai_z/g' swap_years_pft.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/ncan/g' swap_years_pft.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/nrad/g' swap_years_pft.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/fsun_z/g' swap_years_pft.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/vcmaxcintsun/g' swap_years_pft.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/vcmaxcintsha/g' swap_years_pft.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/fabd/g' swap_years_pft.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/fabi/g' swap_years_pft.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/fabd_sun/g' swap_years_pft.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/fabd_sha/g' swap_years_pft.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/fabi_sun/g' swap_years_pft.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/fabi_sha/g' swap_years_pft.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/fabd_sun_z/g' swap_years_pft.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/fabd_sha_z/g' swap_years_pft.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/fabi_sun_z/g' swap_years_pft.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/fabi_sha_z/g' swap_years_pft.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/ftdd/g' swap_years_pft.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/ftid/g' swap_years_pft.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/ftii/g' swap_years_pft.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/flx_absiv/g' swap_years.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/flx_absdv/g' swap_years.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/flx_absdn/g' swap_years.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/albsnd_hst/g' swap_years.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/albsni_hst/g' swap_years.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/albsod/g' swap_years.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/albsoi/g' swap_years.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/albgrd/g' swap_years.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/albgri/g' swap_years.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/mss_dst3/g' swap_years.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/mss_dst4/g' swap_years.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/coszen/g' swap_years.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/mss_bcpho/g' swap_years.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/mss_bcphi/g' swap_years.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/mss_dst1/g' swap_years.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/qflx_snofrz_lyr/g' swap_years.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/qflx_snow_melt/g' swap_years.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/URBAN_HEAT/g' swap_years.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/SAVEDTKE1/g' swap_years.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/USTLAKE/g' swap_years.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/FROST_TABLE/g' swap_years.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/TH2OSFC/g' swap_years.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/T_LAKE/g' swap_years.ncl > temporary.ncl ;ncl temporary.ncl
sed 's/VARIABLE/ENDWB_COL/g' swap_years.ncl > temporary.ncl ;ncl temporary.ncl
#sed 's/VARIABLE/URBAN_AC/g' swap_years.ncl > temporary.ncl ;ncl temporary.ncl
#sed 's/VARIABLE/WA/g' swap_years.ncl > temporary.ncl ;ncl temporary.ncl
#sed 's/VARIABLE/ZWT/g' swap_years.ncl > temporary.ncl ;ncl temporary.ncl
#sed 's/VARIABLE/USTLAKE/g' swap_years.ncl > temporary.ncl ;ncl temporary.ncl
#sed 's/VARIABLE/FROST_TABLE/g' swap_years.ncl > temporary.ncl ;ncl temporary.ncl

