atmoschem / eixport

Export Emissions to Atmospheric Models
https://atmoschem.github.io/eixport/
Other
27 stars 10 forks source link

Do we need merging raster functions to include EDGAR? #5

Closed ibarraespinosa closed 6 years ago

ibarraespinosa commented 6 years ago

EDGAR and other emissions inventories are not updated regularly and merging emissions with different years it is not the best and it is actually better than nothing. Therefore, a new package is required that allows obtaining the same results tan EDGAR and other models such as GFED, locally with local data. This new package will be named sein: Stationary Emissions Inventory, for stationary sources

Schuch666 commented 6 years ago

EmissV have a new funcion 'read()' to read EDGAR 3.2.1 emissions in .nc

Schuch666 commented 6 years ago

the answer probably is: no

ibarraespinosa commented 6 years ago

Ok I have created a simple function named regrid that I will delete. However, have u check is read function it is available in base or other Cran package?

Em ter, 6 de fev de 2018 23:57, Daniel Schuch notifications@github.com escreveu:

the answer probably is: no

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/atmoschem/eixport/issues/5#issuecomment-363629934, or mute the thread https://github.com/notifications/unsubscribe-auth/AaLP8C8vEfOPq6pM1-pezkjuC_6tpSRIks5tSQL3gaJpZM4Q37uF .

-- ​Sergio Ibarra Espinosa Post Doc PhD in Atmospheric Sciences Instituto de Astronomia, Geofísica e Ciências Atmosféricas Universidade de São Paulo Rua do Matão, 1226 São Paulo-SP - Brasil - 05508-090 +55-11-97425-3791 Skype: sergio_ibarra1

Schuch666 commented 6 years ago

there is no read() function in the base, but there is no problem if other package wave a function with the same name

ibarraespinosa commented 6 years ago

idk. it is like too general, right? For instance, if this function will read ONLY edgar, why not read_edgar instead?, Then, it could another like read_mac (maccity), read_rcp, read_reas, read_gains and so on son. Another alternative is read(what = "edgar") with endless if for each alternative. The last one looks kind of ugly.

Em qua, 7 de fev de 2018 às 12:03, Daniel Schuch notifications@github.com escreveu:

there is no read() function in the base, but there is no problem if other package wave a function with the same name

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/atmoschem/eixport/issues/5#issuecomment-363778145, or mute the thread https://github.com/notifications/unsubscribe-auth/AaLP8ITBkgJF8ppk_U8Zwfpt_fQPzi9xks5tSa07gaJpZM4Q37uF .

-- ​Sergio Ibarra Espinosa Post Doc PhD in Atmospheric Sciences Instituto de Astronomia, Geofísica e Ciências Atmosféricas Universidade de São Paulo Rua do Matão, 1226 São Paulo-SP - Brasil - 05508-090 +55-11-97425-3791 Skype: sergio_ibarra1

Schuch666 commented 6 years ago

the plan is read various type of data and return a matrix/array (directly from the .nc file) or a raster suitable to rasterSource

for now, only "EDGAR 4.3.1" is supported: read(file, version = "EDGAR 4.3.1", as_raster = T, verbose = T)

ibarraespinosa commented 6 years ago

superseded by EmissV::read. I'm closing this