Skip to content

Commit

Permalink
read-me update
Browse files Browse the repository at this point in the history
  • Loading branch information
Schuch666 committed Sep 16, 2024
1 parent eff760b commit 592c44a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
1 change: 1 addition & 0 deletions EmissV.Rproj
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,6 @@ StripTrailingWhitespace: Yes
BuildType: Package
PackageUseDevtools: Yes
PackageInstallArgs: --no-multiarch --with-keep.source
PackageBuildArgs: --with-keep.source
PackageCheckArgs: --no-multiarch --as-cran --run-donttest
PackageRoxygenize: rd,collate,namespace
8 changes: 4 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -107,10 +107,10 @@ download.file(paste0(url,'/TOTALS/',file), file)
unzip('v432_NOx_2012.0.1x0.1.zip')

### 2. read the emissions (using the spec argument to split NOx into NO and NO2)
NOx <- read(paste0(file.path(tempdir(), "EDGAR"),'/v50_NOx_2015.0.1x0.1.nc'),
version = 'EDGAR',
spec = c(E_NO = 0.9 , # optional, 90% of NOx used to NO
E_NO2 = 0.1 )) # optional, 10% of NOx uset to NO2
nox <- read(file = dir(pattern = '.nc'),
version = 'EDGAR',
spec = c(E_NO = 0.9 , # 90% of NOx is NO
E_NO2 = 0.1 )) # 10% of NOx is NO2

### 3. get the information from a WRF grid from a initial conditions file (wrfinput)
g <- gridInfo(paste(system.file("extdata", package = "EmissV"),"/wrfinput_d01",sep=""))
Expand Down

0 comments on commit 592c44a

Please sign in to comment.