Luís Gustavo Modelli - Kaggle updated 6 months ago
business, sensitive subjects, agriculture and forestry, fire and security services
Forest fires are a serious problem for the preservation of the Tropical Forests. Understanding the frequency of forest fires in a time series can help to take action to prevent them. Brazil has the largest rainforest on the planet that is the Amazon rainforest.
This dataset report of the number of forest fires in Brazil divided by states. The series comprises the period of approximately 20 years (1998 to 2017). The data were obtained from the official website of the Brazilian government.
http://dados.gov.br/dataset/sistema-nacional-de-informacoes-florestais-snif
We thank the brazilian system of forest information
With this data, it is possible to assess the evolution of fires over the years as well as the regions where they were concentrated. The legal Amazon comprises the states of Acre, Amapá, Pará, Amazonas, Rondonia, Roraima, and part of Mato Grosso, Tocantins, and Maranhão. Data (255 KB) Data Sources amazon.csv 5 columns
the dataset has only data set by year, but there is an extra month column provided...
A beautifully colored graph, though not very insightful.
It appears that the numbers have been split up into monthly data over the period 1998 - 2017.
Converting month to decimal number, so we can compare the impact of a particular month statewise.
The states Mato Grosso, Paraiba, and Rio need a groupby operation to sum up their monthly numbers.
Build a new dataframe with the states as columns
No need for adding all columns, only the "number" columns have to be "inner" joined on the MatoGrosso index ...
MP.columns
dfObj['z'] = dfObj['z'].apply(np.square)
DMScoordinatesBrazil.loc[2, 'Area'] = 142828.50
I'll make a sum of the forest fires by state and by year, and insert this data in the geodataframes.
The numbers are still too dense to visualize properly, so I started pulling out the data for each state separately. And then reconstruct it back together ´´statewise´´.
Later I fetched the unspoiled data from the Brazilian site directly.
Localize the states by generating a map plot from a geopandas point geodataframe
The total area of Brazil is 8,515,767 km²
Merging 2 dataframes column with area values to index value with the corresponding name of coordinates dataframe
Select only numbers from 2017, so we can compare the amount of fires to the area of the state in order to get an idea of the density of the forest fires.
State of Tocantins, Brazil is located at latitude -10.17528 and longitude -48.2982474, 10°10'31'' S 48°17'53.7'' W. Ceara = -5.498398055555556,-39.3206238
I need to recombine the year and month columns to a datetime format
Protected areas, also called conservation units, are divided into different categories according to their goals. These are defined by Law No. 9.985 of 18 July 2000, which established the National System of Conservation Units (SNUC).
Objectives include conservation of nature, sustainable development, scientific research, education and eco-tourism.
Fully protected units are expected to maintain the natural ecosystem without human interference.
Sustainable use units allow sustained use of renewable environmental resources while maintaining biodiversity and other ecological attributes.
The Chico Mendes Institute for Biodiversity Conservation, which administers Federal units, defines the classes of unit as:
In addition, some states designate areas as ecological reserve (Portuguese: Reserva Ecológica).