Puts a select number of variables from the monthly -E- files into a nc_var list to be written to a .nc file.

put_E_values(
  yr,
  nc_var,
  var_list,
  lat,
  lon,
  start_date,
  end_date,
  begins,
  ends,
  out
)

Arguments

yr

the year being processed

nc_var

a list (potentially empty) for ncvar4 objects to be added to

var_list

list returned by read_E_files()

lat

ncdim4 object for latitude of site

lon

ncdim4 object longitude of site

start_date

start time of simulation

end_date

end time of simulation

begins

deprecated; use start_date instead

ends

deprecated; use end_date instead

out

deprecated; use var_list instead

Value

a list of ncdim4 objects