Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/EL-BID/URSA
/ functions
Functions
204 in github.com/EL-BID/URSA
⨍
Functions
204
◇
Types & classes
0
↳
Endpoints
48
Function
download_file
(id_hash, n_clicks)
pages/hist_growth.py:382
Function
download_map_season
Plots Dynamic World temporal composite on map for year and season. Season can one of the four seasons or 'all' for a yearly aggregate.
ursa/dynamic_world.py:188
Function
download_orig_raster
(n_clicks, id_hash)
pages/sleuth.py:1583
Function
download_predicted_rasters
(n_clicks, data, id_hash)
pages/sleuth.py:2145
Function
download_rasters
(n_intervals, task_name)
pages/suhi.py:918
Function
download_rasters
(n_intervals, task_name)
pages/land_cover.py:254
Function
figureWithDescription
(fig, text, title="Default title (change me)")
components/text.py:11
Function
figureWithDescription
(fig, text, title="Default title (change me)")
src/components/text.py:11
Function
figureWithDescription_translation
(fig, text_id, title_id)
src/components/text.py:40
Function
figureWithDescription_translation2
(fig, text_ids, title_id)
src/components/text.py:61
Function
filter_city
Callback to display only the cities that belong to the country that was previously selected. Input: - cou: contry value. Output:
pages/home.py:199
Function
find_urban_centers
( pop_array, builtup_array, u_center_density=1500, u_center_pop=50000, builtup_trshld=0.5,
ursa/degree_of_urbanization.py:17
Function
generate_drive_text
(how, where)
layouts/common.py:6
Function
generate_drive_text
(how, where)
src/layouts/common.py:6
Function
generate_drive_text_translation
(how, where)
src/layouts/common.py:76
Function
generate_hash_files
(path_cache)
ursa/utils/cache.py:8
Function
generate_lines
(id_hash, bbox_latlon, uc_latlon, btn_lang_es, btn_lang_en, btn_lang_pt)
pages/hist_growth.py:429
Function
generate_maps
(id_hash, bbox_latlon, fua_latlon, uc_latlon, btn_lang_es, btn_lang_en, btn_lang_pt, language_data)
pages/suhi.py:949
Function
generate_plots
(id_hash, bbox_latlon, fua_latlon, btn_lang_es, btn_lang_en, btn_lang_pt, language_data)
pages/land_cover.py:284
Function
get_cat_suhi
(lst, masks, path_cache)
ursa/heat_islands.py:110
Function
get_cat_suhi_celsius
(lst, masks)
ursa/heat_islands.py:147
Function
get_cat_suhi_raw
(lst, masks, path_cache)
ursa/heat_islands.py:134
Function
get_cover_and_masks
(bbox, projection)
ursa/world_cover.py:72
Function
get_parameters_asc
(parameters)
layouts/sleuth.py:159
Function
get_parameters_asc
(parameters)
src/layouts/sleuth.py:132
Function
get_parameters_des
(parameters)
layouts/sleuth.py:164
Function
get_parameters_des
(parameters)
src/layouts/sleuth.py:137
Function
get_urb_growth_df
(smod, built, pop, centroid_mollweide, path_cache)
ursa/ghsl.py:485
Function
get_urban_mean
(bbox_latlon, season, year, path_cache)
ursa/heat_islands.py:382
Function
help_text_translation
(main_text_id, defecto, help_id)
layouts/sleuth.py:172
Function
help_text_translation
(main_text_id, defecto, help_id)
src/layouts/sleuth.py:145
Function
load_or_get_land_usage_df
(bbox_ee, img_cat, path_cache)
ursa/heat_islands.py:251
Function
load_or_get_mit_areas_df
( bbox_latlon, bbox_mollweide, uc_mollweide_centroid, path_cache, force=False )
ursa/heat_islands.py:439
Function
load_or_get_radial_distributions
( bbox_latlon, uc_latlon, start_date, end_date, path_cache, )
ursa/heat_islands.py:350
Function
load_or_get_t_areas
(bbox_ee, img_cat, masks, path_cache)
ursa/heat_islands.py:193
Function
load_or_prep_rasters
(bbox_mollweide, path_cache)
ursa/sleuth_prep.py:20
Function
load_or_process_dou
(bbox_mollweide, path_cache, force=False)
ursa/degree_of_urbanization.py:353
Function
load_plot_datasets
(bbox_mollweide, path_cache, clip=False)
ursa/ghsl.py:152
Function
make_simple_multiband_raster
(data, years)
layouts/sleuth.py:139
Function
make_simple_multiband_raster
(data, years)
src/layouts/sleuth.py:112
Function
make_simple_raster
(data)
layouts/sleuth.py:132
Function
make_simple_raster
(data)
src/layouts/sleuth.py:105
Function
mapComponent
(title, id)
src/components/text.py:87
Function
new_page_layout
(maps, tabs, stores=None, alerts=None)
src/components/page.py:17
Function
pageContentLayout
(pageTitle, alerts, content)
components/page.py:5
Function
pageContentLayout
(pageTitle, alerts, content)
src/components/page.py:5
Function
plot_built_agg_img
Plots historic built using an image overlay.
ursa/ghsl.py:294
Function
plot_built_poly
Plots a map with built information for year with polygons. May be slow and memory heavy.
ursa/ghsl.py:264
Function
plot_built_year_img
Plots built for year using an image overlay.
ursa/ghsl.py:713
Function
plot_cat_map
(bbox_ee, fua_latlon_centroid, img_cat)
ursa/plots/heat_islands.py:173
Function
plot_growth
(growth_df, *, y_cols, title, ylabel, var_type="extensive", language = "es")
ursa/ghsl.py:1068
Function
plot_lc_time_series
(bbox_latlon, path_cache, language = 'es')
ursa/dynamic_world.py:403
Function
plot_lc_year
(bbox_latlon, path_cache, year=2022, language='es')
ursa/dynamic_world.py:319
Function
plot_map_season
Plots Dynamic World temporal composite on map for year and season. Season can one of the four seasons or 'all' for a yearly aggregate.
ursa/dynamic_world.py:39
Function
plot_pop_year_img
(smod, pop, bbox_mollweide, centroid_mollweide, year=2020, language = "es")
ursa/ghsl.py:883
Function
plot_radial_lc
(df, language = "es")
ursa/plots/heat_islands.py:37
Function
plot_radial_temperature
(df, language='es')
ursa/plots/heat_islands.py:9
Function
plot_smod_clusters
(smod, bbox_latlon, feature="clusters", language='es')
ursa/ghsl.py:623
Function
plot_temp_areas
(df_t_areas, language="es")
ursa/plots/heat_islands.py:117
Function
plot_temp_by_lc
(df, language="es")
ursa/plots/heat_islands.py:187
Function
pop_2_density
Tranforms a populatiuon counts raster into a population density raster. Takes a raster in lat-lon with population counts as input and outputs
ursa/utils/raster.py:384
Function
prep_img
(img)
ursa/heat_islands.py:32
Function
reproject_geometry
(geo, target_crs, start_crs="EPSG:4326")
ursa/utils/geometry.py:8
Function
restore_raster
(n_clicks, id_hash)
pages/sleuth.py:1693
Function
row2cell
(row, res_xy)
ursa/utils/raster.py:12
Function
set_city
Sets updates nav links and header. State: (A state would save the colected data but it won't trigger anything) - value (dropdown-coun
pages/home.py:228
Function
set_custom_bbox
(n_clicks, geojson, bbox_orig)
pages/home.py:289
Function
start_calibration
( n_clicks, n_iters, n_refinement_iters, n_refinement_splits, n_refinement_winners, di
pages/sleuth.py:1754
Function
start_download
(n_clicks, bbox_latlon, task_name)
pages/land_cover.py:234
Function
start_download_normal
(n_clicks, id_hash, bbox_latlon, task_name)
pages/suhi.py:875
Function
start_download_raw
(n_clicks, id_hash, bbox_latlon, task_name)
pages/suhi.py:890
Function
start_prediction
( n_clicks, coefs_diffusion, coefs_breed, coefs_spread, coefs_slope, coefs_road, g
pages/sleuth.py:2021
Function
stats_for_largest_cluster
(df_stats)
ursa/degree_of_urbanization.py:242
Function
stop_task
(n_clicks, task_id)
pages/suhi.py:1006
Function
stop_task
(n_clicks, task_id)
pages/land_cover.py:317
Function
summary
(id_hash, urban_rasters, years, language = "es")
layouts/sleuth.py:316
Function
summary
(id_hash, urban_rasters, years)
src/layouts/sleuth.py:259
Function
tif_from_bbox_local
Downloads a windowed raster with bounds defined by bbox from a local COG and saves a local geotiff file. Parameters ---------- raster
ursa/utils/raster.py:323
Function
tif_from_bbox_s3
Downloads a windowed raster with bounds defined by bbox from an COG stored in an Amaxon S3 bucket and saves a local geotiff file. Uses bbox t
ursa/utils/raster.py:183
Function
toggle_plots
(n_clicks)
components/page.py:76
Function
toggle_plots
(n_clicks)
src/components/page.py:76
Function
update_arrays
(uploaded, id_hash)
pages/sleuth.py:1630
Function
update_coefficient_stores
(id_hash)
pages/sleuth.py:2264
Function
update_custom_raster_results
(current, id_hash)
pages/sleuth.py:1870
Function
update_graphs
(arr, years)
pages/sleuth.py:1542
Function
update_mitigation_kilometers
(values, id_hash, bbox_latlon, uc_latlon)
pages/suhi.py:754
Function
update_navbar
(btn_lang_es, btn_lang_en, btn_lang_pt, language_data)
app.py:111
Function
update_prediction_coefficient_display
(rows, original)
pages/sleuth.py:1887
Function
update_prediction_param_display
(value)
pages/sleuth.py:1927
Function
update_ranges
(c_min, c_max, c_num)
pages/sleuth.py:1852
Function
update_selects
(years)
pages/sleuth.py:2249
Function
update_summary
(value)
pages/sleuth.py:1841
Function
update_tab_labels
(btn_lang_es, btn_lang_en, btn_lang_pt, language_data)
pages/suhi.py:726
Function
update_tab_labels
(btn_lang_es, btn_lang_en, btn_lang_pt, language_data)
pages/land_cover.py:209
Function
update_tab_labels
(btn_lang_es, btn_lang_en, btn_lang_pt)
pages/hist_growth.py:361
Function
update_tab_labels
(btn_lang_es, btn_lang_en, btn_lang_pt)
pages/sleuth.py:1505
Function
update_translated_content
(language_data)
pages/suhi.py:712
Function
update_translated_content
(language_data)
pages/land_cover.py:194
Function
update_translated_content
(language_data)
pages/hist_growth.py:348
Function
update_translated_content
(language_data)
pages/home.py:189
← previous
next →
101–200 of 204, ranked by callers