Brane - Location Converter
# Worldmap Worldmap is a brane package for creating maps of the world using Geopandas. Each country can be given a value representing a color in the red, yellow and green range. ## Installation If on Linux or MacOS first run: ``` chmod +x run.py ``` Otherwise/then: ```console brane build container.y...
Main Author: | |
---|---|
Format: | Software |
Language: | unknown |
Published: |
2021
|
Subjects: | |
Online Access: | https://doi.org/10.5281/zenodo.4818215 |
id |
ftsmithonian:oai:figshare.com:article/14694920 |
---|---|
record_format |
openpolar |
institution |
Open Polar |
collection |
Unknown |
op_collection_id |
ftsmithonian |
language |
unknown |
topic |
Microbiology Biotechnology Ecology Sociology Science Policy Infectious Diseases Virology Environmental Sciences not elsewhere classified Biological Sciences not elsewhere classified Chemical Sciences not elsewhere classified Brane Location converter |
spellingShingle |
Microbiology Biotechnology Ecology Sociology Science Policy Infectious Diseases Virology Environmental Sciences not elsewhere classified Biological Sciences not elsewhere classified Chemical Sciences not elsewhere classified Brane Location converter Lucas de Geus (10846592) Brane - Location Converter |
topic_facet |
Microbiology Biotechnology Ecology Sociology Science Policy Infectious Diseases Virology Environmental Sciences not elsewhere classified Biological Sciences not elsewhere classified Chemical Sciences not elsewhere classified Brane Location converter |
description |
# Worldmap Worldmap is a brane package for creating maps of the world using Geopandas. Each country can be given a value representing a color in the red, yellow and green range. ## Installation If on Linux or MacOS first run: ``` chmod +x run.py ``` Otherwise/then: ```console brane build container.yml brane push worldmap 1.0.0 ``` Or install using the brane import function: ```console brane import lucasdegeus/braneWorldmap --kind ecu ``` ## Usage Input parameters are: * countries: an array of country names * values: an array of values corresponding with the countries * legend_name: name below the color bar * path: path to save file ```brane import worldmap; let countries := ["Canada", "United States of America"]; let values := [100.0, -50]; let legend_name := "Sentiment"; let path := "/data/wordmap.png"; create_map(values, countries, legend_name, path); ``` ## Notes Countries and values are matched using their index. Lowest value in the array is represented using the color red, highest value by green and missing countries by grey. These values can be positive, negative, floats or integers. Countries should be provided with names according to this list: ['Fiji', 'Tanzania', 'W. Sahara', 'Canada', 'United States of America', 'Kazakhstan', 'Uzbekistan', 'Papua New Guinea', 'Indonesia', 'Argentina', 'Chile', 'Dem. Rep. Congo', 'Somalia', 'Kenya', 'Sudan', 'Chad', 'Haiti', 'Dominican Rep.', 'Russia', 'Bahamas', 'Falkland Is.', 'Norway', 'Greenland', 'Fr. S. Antarctic Lands', 'Timor-Leste', 'South Africa', 'Lesotho', 'Mexico', 'Uruguay', 'Brazil', 'Bolivia', 'Peru', 'Colombia', 'Panama', 'Costa Rica', 'Nicaragua', 'Honduras', 'El Salvador', 'Guatemala', 'Belize', 'Venezuela', 'Guyana', 'Suriname', 'France', 'Ecuador', 'Puerto Rico', 'Jamaica', 'Cuba', 'Zimbabwe', 'Botswana', 'Namibia', 'Senegal', 'Mali', 'Mauritania', 'Benin', 'Niger', 'Nigeria', 'Cameroon', 'Togo', 'Ghana', "Côte d'Ivoire", 'Guinea', 'Guinea-Bissau', 'Liberia', 'Sierra Leone', 'Burkina Faso', 'Central African Rep.', 'Congo', 'Gabon', 'Eq. Guinea', 'Zambia', 'Malawi', 'Mozambique', 'eSwatini', 'Angola', 'Burundi', 'Israel', 'Lebanon', 'Madagascar', 'Palestine', 'Gambia', 'Tunisia', 'Algeria', 'Jordan', 'United Arab Emirates', 'Qatar', 'Kuwait', 'Iraq', 'Oman', 'Vanuatu', 'Cambodia', 'Thailand', 'Laos', 'Myanmar', 'Vietnam', 'North Korea', 'South Korea', 'Mongolia', 'India', 'Bangladesh', 'Bhutan', 'Nepal', 'Pakistan', 'Afghanistan', 'Tajikistan', 'Kyrgyzstan', 'Turkmenistan', 'Iran', 'Syria', 'Armenia', 'Sweden', 'Belarus', 'Ukraine', 'Poland', 'Austria', 'Hungary', 'Moldova', 'Romania', 'Lithuania', 'Latvia', 'Estonia', 'Germany', 'Bulgaria', 'Greece', 'Turkey', 'Albania', 'Croatia', 'Switzerland', 'Luxembourg', 'Belgium', 'Netherlands', 'Portugal', 'Spain', 'Ireland', 'New Caledonia', 'Solomon Is.', 'New Zealand', 'Australia', 'Sri Lanka', 'China', 'Taiwan', 'Italy', 'Denmark', 'United Kingdom', 'Iceland', 'Azerbaijan', 'Georgia', 'Philippines', 'Malaysia', 'Brunei', 'Slovenia', 'Finland', 'Slovakia', 'Czechia', 'Eritrea', 'Japan', 'Paraguay', 'Yemen', 'Saudi Arabia', 'Antarctica', 'N. Cyprus', 'Cyprus', 'Morocco', 'Egypt', 'Libya', 'Ethiopia', 'Djibouti', 'Somaliland', 'Uganda', 'Rwanda', 'Bosnia and Herz.', 'Macedonia', 'Serbia', 'Montenegro', 'Kosovo', 'Trinidad and Tobago', 'S. Sudan'] |
format |
Software |
author |
Lucas de Geus (10846592) |
author_facet |
Lucas de Geus (10846592) |
author_sort |
Lucas de Geus (10846592) |
title |
Brane - Location Converter |
title_short |
Brane - Location Converter |
title_full |
Brane - Location Converter |
title_fullStr |
Brane - Location Converter |
title_full_unstemmed |
Brane - Location Converter |
title_sort |
brane - location converter |
publishDate |
2021 |
url |
https://doi.org/10.5281/zenodo.4818215 |
long_lat |
ENVELOPE(-60.734,-60.734,-63.816,-63.816) |
geographic |
Antarctic Argentina Canada Greenland New Zealand Norway Trinidad Uruguay |
geographic_facet |
Antarctic Argentina Canada Greenland New Zealand Norway Trinidad Uruguay |
genre |
Antarc* Antarctic Antarctica Greenland Iceland |
genre_facet |
Antarc* Antarctic Antarctica Greenland Iceland |
op_relation |
https://figshare.com/articles/software/Brane_-_Location_Converter/14694920 doi:10.5281/zenodo.4818215 |
op_rights |
CC BY 4.0 |
op_rightsnorm |
CC-BY |
op_doi |
https://doi.org/10.5281/zenodo.4818215 |
_version_ |
1766079495810318336 |
spelling |
ftsmithonian:oai:figshare.com:article/14694920 2023-05-15T13:36:30+02:00 Brane - Location Converter Lucas de Geus (10846592) 2021-05-25T00:00:00Z https://doi.org/10.5281/zenodo.4818215 unknown https://figshare.com/articles/software/Brane_-_Location_Converter/14694920 doi:10.5281/zenodo.4818215 CC BY 4.0 CC-BY Microbiology Biotechnology Ecology Sociology Science Policy Infectious Diseases Virology Environmental Sciences not elsewhere classified Biological Sciences not elsewhere classified Chemical Sciences not elsewhere classified Brane Location converter Software 2021 ftsmithonian https://doi.org/10.5281/zenodo.4818215 2021-06-13T15:40:06Z # Worldmap Worldmap is a brane package for creating maps of the world using Geopandas. Each country can be given a value representing a color in the red, yellow and green range. ## Installation If on Linux or MacOS first run: ``` chmod +x run.py ``` Otherwise/then: ```console brane build container.yml brane push worldmap 1.0.0 ``` Or install using the brane import function: ```console brane import lucasdegeus/braneWorldmap --kind ecu ``` ## Usage Input parameters are: * countries: an array of country names * values: an array of values corresponding with the countries * legend_name: name below the color bar * path: path to save file ```brane import worldmap; let countries := ["Canada", "United States of America"]; let values := [100.0, -50]; let legend_name := "Sentiment"; let path := "/data/wordmap.png"; create_map(values, countries, legend_name, path); ``` ## Notes Countries and values are matched using their index. Lowest value in the array is represented using the color red, highest value by green and missing countries by grey. These values can be positive, negative, floats or integers. Countries should be provided with names according to this list: ['Fiji', 'Tanzania', 'W. Sahara', 'Canada', 'United States of America', 'Kazakhstan', 'Uzbekistan', 'Papua New Guinea', 'Indonesia', 'Argentina', 'Chile', 'Dem. Rep. Congo', 'Somalia', 'Kenya', 'Sudan', 'Chad', 'Haiti', 'Dominican Rep.', 'Russia', 'Bahamas', 'Falkland Is.', 'Norway', 'Greenland', 'Fr. S. Antarctic Lands', 'Timor-Leste', 'South Africa', 'Lesotho', 'Mexico', 'Uruguay', 'Brazil', 'Bolivia', 'Peru', 'Colombia', 'Panama', 'Costa Rica', 'Nicaragua', 'Honduras', 'El Salvador', 'Guatemala', 'Belize', 'Venezuela', 'Guyana', 'Suriname', 'France', 'Ecuador', 'Puerto Rico', 'Jamaica', 'Cuba', 'Zimbabwe', 'Botswana', 'Namibia', 'Senegal', 'Mali', 'Mauritania', 'Benin', 'Niger', 'Nigeria', 'Cameroon', 'Togo', 'Ghana', "Côte d'Ivoire", 'Guinea', 'Guinea-Bissau', 'Liberia', 'Sierra Leone', 'Burkina Faso', 'Central African Rep.', 'Congo', 'Gabon', 'Eq. Guinea', 'Zambia', 'Malawi', 'Mozambique', 'eSwatini', 'Angola', 'Burundi', 'Israel', 'Lebanon', 'Madagascar', 'Palestine', 'Gambia', 'Tunisia', 'Algeria', 'Jordan', 'United Arab Emirates', 'Qatar', 'Kuwait', 'Iraq', 'Oman', 'Vanuatu', 'Cambodia', 'Thailand', 'Laos', 'Myanmar', 'Vietnam', 'North Korea', 'South Korea', 'Mongolia', 'India', 'Bangladesh', 'Bhutan', 'Nepal', 'Pakistan', 'Afghanistan', 'Tajikistan', 'Kyrgyzstan', 'Turkmenistan', 'Iran', 'Syria', 'Armenia', 'Sweden', 'Belarus', 'Ukraine', 'Poland', 'Austria', 'Hungary', 'Moldova', 'Romania', 'Lithuania', 'Latvia', 'Estonia', 'Germany', 'Bulgaria', 'Greece', 'Turkey', 'Albania', 'Croatia', 'Switzerland', 'Luxembourg', 'Belgium', 'Netherlands', 'Portugal', 'Spain', 'Ireland', 'New Caledonia', 'Solomon Is.', 'New Zealand', 'Australia', 'Sri Lanka', 'China', 'Taiwan', 'Italy', 'Denmark', 'United Kingdom', 'Iceland', 'Azerbaijan', 'Georgia', 'Philippines', 'Malaysia', 'Brunei', 'Slovenia', 'Finland', 'Slovakia', 'Czechia', 'Eritrea', 'Japan', 'Paraguay', 'Yemen', 'Saudi Arabia', 'Antarctica', 'N. Cyprus', 'Cyprus', 'Morocco', 'Egypt', 'Libya', 'Ethiopia', 'Djibouti', 'Somaliland', 'Uganda', 'Rwanda', 'Bosnia and Herz.', 'Macedonia', 'Serbia', 'Montenegro', 'Kosovo', 'Trinidad and Tobago', 'S. Sudan'] Software Antarc* Antarctic Antarctica Greenland Iceland Unknown Antarctic Argentina Canada Greenland New Zealand Norway Trinidad ENVELOPE(-60.734,-60.734,-63.816,-63.816) Uruguay |