Skip to content

Commit 5d8b96e

Browse files
authored
Merge pull request #25 from MGousseff/MDemuzaereReview2
Corrections after M. Demuzere review
2 parents ca6c8ee + 98637b1 commit 5d8b96e

File tree

9 files changed

+324
-274
lines changed

9 files changed

+324
-274
lines changed
File renamed without changes.
File renamed without changes.

R/importLCZraster.R

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,21 @@
2020
#'
2121
#' @examples
2222
#' redonBbox<-importLCZvect(dirPath=paste0(system.file("extdata", package = "lczexplore"),
23-
#' "/bdtopo_2_2/Redon"), file="rsu_lcz.geojson",column="LCZ_PRIMARY", output="bBox")
23+
#' "/bdtopo_2_2/Redon"), file="rsu_lcz.geojson", column="LCZ_PRIMARY", output="bBox")
2424
#'
2525
#' redonWudapt<-importLCZraster(system.file("extdata", package = "lczexplore"),
2626
#' fileName="redonWudapt.tif",bBox=redonBbox)
2727
#'
28+
#' # another way to get the bounding box when one explores a given city would be the use of the
29+
#' # getbb() function from the osmdata package.
30+
#' # This exaample requires the osmdata package and therefore is not executed here
31+
#' # redonBbox<-osmdata::getbb("Redon")
32+
#' # redonWudapt<-importLCZraster(system.file("extdata", package = "lczexplore"),
33+
#' # fileName="redonWudapt.tif",bBox=redonBbox)
34+
#'
35+
#' # another way to get the bounding box when one doesn't want to compare to a vector map is to enter it's coordinates
36+
#' # and feed them to st_bbox() of the sf package.
37+
#'
2838
#' # the following example can only be executed when user has downloaded
2939
#' # CONUS-wide LCZ map and Training Areas on WUDAPT website
3040
#' # sanDiegobBoxCoord<-st_sf(a=1:2, geom=st_sfc(
@@ -37,7 +47,7 @@
3747
#' #fileName="CONUS_LCZ_map_NLCD_v1.0_epsg4326.tif",
3848
#' #column="CONUS_LCZ_map_NLCD_v1.0_epsg4326"
3949
#' # ,bBox=sanDiegoBbox)
40-
#' #showLCZ(sanDiegoWudapt,column="CONUS_LCZ_map_NLCD_v1.0_epsg4326")
50+
#' #showLCZ(sanDiegoWudapt, column="CONUS_LCZ_map_NLCD_v1.0_epsg4326")
4151
importLCZraster<-function(dirPath,zone="europe",bBox,fileName="EU_LCZ_map.tif", column='EU_LCZ_map',
4252
typeLevels=c("1"="1","2"="2","3"="3","4"="4","5"="5","6"="6","7"="7","8"="8",
4353
"9"="9","10"="10","101"="11","102"="12","103"="13","104"="14",

docs/articles/joss/paper.bib

Lines changed: 63 additions & 30 deletions
Original file line numberDiff line numberDiff line change
@@ -154,36 +154,36 @@ @article{chingWUDAPTUrbanWeather2018a
154154
issn = {0003-0007, 1520-0477},
155155
doi = {10.1175/BAMS-D-16-0236.1},
156156
urldate = {2023-06-30},
157-
}
158-
159-
@article{cohenCoefficientAgreementNominal1960,
160-
title = {A {{Coefficient}} of {{Agreement}} for {{Nominal Scales}}},
161-
author = {Cohen, Jacob},
162-
year = {1960},
163-
month = apr,
164-
journal = {Educational and Psychological Measurement},
165-
volume = {20},
166-
number = {1},
167-
pages = {37--46},
168-
issn = {0013-1644, 1552-3888},
169-
doi = {10.1177/001316446002000104},
170-
urldate = {2023-06-30},
171-
langid = {english}
172-
}
173-
174-
@article{demuzereLCZGeneratorWeb2021,
175-
title = {{{LCZ Generator}}: {{A Web Application}} to {{Create Local Climate Zone Maps}}},
176-
shorttitle = {{{LCZ Generator}}},
177-
author = {Demuzere, Matthias and Kittner, Jonas and Bechtel, Benjamin},
178-
year = {2021},
179-
month = apr,
180-
journal = {Frontiers in Environmental Science},
181-
volume = {9},
182-
pages = {637455},
183-
issn = {2296-665X},
184-
doi = {10.3389/fenvs.2021.637455},
185-
urldate = {2023-06-30},
186-
}
157+
}
158+
159+
@article{cohenCoefficientAgreementNominal1960,
160+
title = {A {{Coefficient}} of {{Agreement}} for {{Nominal Scales}}},
161+
author = {Cohen, Jacob},
162+
year = {1960},
163+
month = apr,
164+
journal = {Educational and Psychological Measurement},
165+
volume = {20},
166+
number = {1},
167+
pages = {37--46},
168+
issn = {0013-1644, 1552-3888},
169+
doi = {10.1177/001316446002000104},
170+
urldate = {2023-06-30},
171+
langid = {english}
172+
}
173+
174+
@article{demuzereLCZGeneratorWeb2021,
175+
title = {{{LCZ Generator}}: {{A Web Application}} to {{Create Local Climate Zone Maps}}},
176+
shorttitle = {{{LCZ Generator}}},
177+
author = {Demuzere, Matthias and Kittner, Jonas and Bechtel, Benjamin},
178+
year = {2021},
179+
month = apr,
180+
journal = {Frontiers in Environmental Science},
181+
volume = {9},
182+
pages = {637455},
183+
issn = {2296-665X},
184+
doi = {10.3389/fenvs.2021.637455},
185+
urldate = {2023-06-30},
186+
}
187187

188188
@techreport{bernardGenericAlgorithmAutomatically2023,
189189
type = {Preprint},
@@ -235,4 +235,37 @@ @article{RJ-2018-009
235235
pages = {439--446},
236236
volume = {10},
237237
number = {1}
238+
}
239+
240+
241+
@article{demuzere2019mapping,
242+
title={Mapping Europe into local climate zones},
243+
author={Demuzere, Matthias and Bechtel, Benjamin and Middel, Ariane and Mills, Gerald},
244+
journal={PloS one},
245+
volume={14},
246+
number={4},
247+
pages={e0214474},
248+
year={2019},
249+
publisher={Public Library of Science San Francisco, CA USA}
250+
}
251+
252+
@article{demuzere2022global,
253+
title={A global map of Local Climate Zones to support earth system modelling and urban scale environmental science},
254+
author={Demuzere, Matthias and Kittner, Jonas and Martilli, Alberto and Mills, Gerald and Moede, Christian and Stewart, Iain D and van Vliet, Jasper and Bechtel, Benjamin},
255+
journal={Earth System Science Data Discussions},
256+
volume={2022},
257+
pages={1--57},
258+
year={2022},
259+
publisher={G{\"o}ttingen, Germany}
260+
}
261+
262+
@article{demuzere2020combining,
263+
title={Combining expert and crowd-sourced training data to map urban form and functions for the continental US},
264+
author={Demuzere, Matthias and Hankey, Steve and Mills, Gerald and Zhang, Wenwen and Lu, Tianjun and Bechtel, Benjamin},
265+
journal={Scientific data},
266+
volume={7},
267+
number={1},
268+
pages={264},
269+
year={2020},
270+
publisher={Nature Publishing Group UK London}
238271
}

0 commit comments

Comments
 (0)