lhenneman / hyspdisp

4 stars 4 forks source link

define_input function expands data #48

Closed schoolAccountMajaG closed 4 years ago

schoolAccountMajaG commented 5 years ago

https://github.com/lhenneman/hyspdisp/blob/master/R/define_inputs.R#L11-L30

@lhenneman Why is it safe to just expand the data assuming that emissions are the same at many points in time? I am not sure if I understand how this works. We need more explanation for the vignette/documentation.

lhenneman commented 5 years ago

The result of this function is just a data table with ID, start_hour, start_day, duration_emiss_hours, and duration_run_hours. It doesn't include emissions.

ID - the unit ID start_hour - the hour when the emissions happened start_day - the day when the emissions happened duration_emiss_hours - the duration of the emissions event (we always use 1 hour) duration_run_hour - the length of time each air parcel is tracked by HYSPLIT

HyADS first runs all the the trajectories using this information, then assigns the resulting air parcel locations by month. After that, we weigh everything by monthly emissions. So emissions don't factor in until a much later step.

On Mon, Jul 1, 2019 at 7:45 AM Maja notifications@github.com wrote:

https://github.com/lhenneman/hyspdisp/blob/master/R/define_inputs.R#L11-L30

@lhenneman https://github.com/lhenneman Why is it safe to just expand the data assuming that emissions are the same at many points in time? I am not sure if I understand how this works. We need more explanation for the vignette/documentation.

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/lhenneman/hyspdisp/issues/48?email_source=notifications&email_token=AHMZYW2YVBICHE72YVAKGSDP5HU7FA5CNFSM4H4RRSFKYY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4G4TYDQA, or mute the thread https://github.com/notifications/unsubscribe-auth/AHMZYWZE6KBS73HXIWZEMPLP5HU7FANCNFSM4H4RRSFA .

-- Lucas R.F. Henneman, Ph.D. (404) 788-2161 lhenneman@gmail.com

schoolAccountMajaG commented 5 years ago

Thank is super helpful. I got confused. Thank you!