emis_order: Re-order the emission to match specific hours and days
Description
returns the emission array matching with corresponding weekdays and with
the desired number of hours, recycling or droping hours from the emission array.
1) GriddedEmissionsArray or array with characteristics of GriddedEmissionsArray
2) Spatial object of class "Spatial". Columns are hourly emissions.
3) Spatial Object of class "sf". Columns are hourly emissions.
4) "data.frame", "matrix" or "Emissions". Columns are hourly emissions.
start
Date or the start weekday or first 3 letters
hours
Numeric; number of hours needed to the simualation
utc
Integer; transform local into UTC emissions. For instance,
utc = -3 means that the first hour of emissions is at 21:00 of the previous
day.
verbose
Logical; display additional information
Value
GriddedEmissionsArray, sf or data.frame, depending on the class of
EMISSION