[GRASS-user] conversion to fire simulation data set in the Grass GIS

Hi everyone,
We have encountered a problem when we trying to convert a wildfire data set to the format that can be used in the grass GIS. We have the data in an excel sheet as records. Grass GIS fire simulation dataset has a set of files as the inputs. The format of the data in the files is unclear. Is there any conversion method of normal fire data to the format that can be used in the Grass GIS?..We have the same input data, we need to convert them like the fire simulation data set provided in the Grass GIS sample data page.

Thank you…!!!
Awaiting a helpful response

Kalindu,

I think you need to provide more information. It sounds like you have point data, which means your data should be imported using v.in.ogr or v.in.ascii, if you were to convert you excel file to an ascii text file.

Regards,
Tom

···

On Sat, Aug 4, 2018 at 3:46 AM, Kalindu Perera <kkc199408@gmail.com> wrote:

Hi everyone,
We have encountered a problem when we trying to convert a wildfire data set to the format that can be used in the grass GIS. We have the data in an excel sheet as records. Grass GIS fire simulation dataset has a set of files as the inputs. The format of the data in the files is unclear. Is there any conversion method of normal fire data to the format that can be used in the Grass GIS?..We have the same input data, we need to convert them like the fire simulation data set provided in the Grass GIS sample data page.

Thank you…!!!
Awaiting a helpful response


grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

Hi Thomas,

Thanks a lot for your reply. I’ll explain more.
We have a dataset with data about a wildfire, starting point of the fire, slope, wind velocity, wind direction, elevation, fuel models and fuel moisture.
That data is in an excel sheet separated into columns.
we need to convert that data to the format which is like in the Grass GIS fire simulation data set. So that we can calculate the spread of our wildfire using r.ros
Grass GIS fire simulation data set has data about 1 wildfire and the data is presented separately as files. As an example slope is a separate file. the elevation is another file
What we need is how to convert our wildfire data which is in the excel sheet to those type of files?
Is there any script or something to convert?

Thank you…!!!

···

On Sat, Aug 4, 2018 at 3:46 AM, Kalindu Perera <kkc199408@gmail.com> wrote:

Hi everyone,
We have encountered a problem when we trying to convert a wildfire data set to the format that can be used in the grass GIS. We have the data in an excel sheet as records. Grass GIS fire simulation dataset has a set of files as the inputs. The format of the data in the files is unclear. Is there any conversion method of normal fire data to the format that can be used in the Grass GIS?..We have the same input data, we need to convert them like the fire simulation data set provided in the Grass GIS sample data page.

Thank you…!!!
Awaiting a helpful response


grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

Kalindu,

First, I have never done any wildfire modeling and I am not familiar with the process in GRASS. So, I’m not sure what the requirements are in GRASS to do this. However, I do not understand how 2 columns of data can contain “starting point of the fire, slope, wind velocity, wind direction, elevation, fuel models and fuel moisture” unless the data are in separate rows; but that does not make sense either to me. Is the “starting point of the fire” in lat/long coordinates or some other geographic coordinates?

I really think it would be helpful to see an example dataset with an explanation. I or others can help you with answering questions about importing your datasets, but not without this information.

Best,
Tom

···

On Sat, Aug 4, 2018 at 10:01 AM, Kalindu Perera <kkc199408@gmail.com> wrote:

Hi Thomas,

Thanks a lot for your reply. I’ll explain more.
We have a dataset with data about a wildfire, starting point of the fire, slope, wind velocity, wind direction, elevation, fuel models and fuel moisture.
That data is in an excel sheet separated into columns.
we need to convert that data to the format which is like in the Grass GIS fire simulation data set. So that we can calculate the spread of our wildfire using r.ros
Grass GIS fire simulation data set has data about 1 wildfire and the data is presented separately as files. As an example slope is a separate file. the elevation is another file
What we need is how to convert our wildfire data which is in the excel sheet to those type of files?
Is there any script or something to convert?

Thank you…!!!

On Sat, 4 Aug 2018 at 18:36, Thomas Adams <tea3rd@gmail.com> wrote:

Kalindu,

I think you need to provide more information. It sounds like you have point data, which means your data should be imported using v.in.ogr or v.in.ascii, if you were to convert you excel file to an ascii text file.

Regards,
Tom

On Sat, Aug 4, 2018 at 3:46 AM, Kalindu Perera <kkc199408@gmail.com> wrote:

Hi everyone,
We have encountered a problem when we trying to convert a wildfire data set to the format that can be used in the grass GIS. We have the data in an excel sheet as records. Grass GIS fire simulation dataset has a set of files as the inputs. The format of the data in the files is unclear. Is there any conversion method of normal fire data to the format that can be used in the Grass GIS?..We have the same input data, we need to convert them like the fire simulation data set provided in the Grass GIS sample data page.

Thank you…!!!
Awaiting a helpful response


grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

Hi Thomas,
Yes, the starting point is latitude and longitude coordinates.
It’s actually not 2 columns. It has a separate column for each one slope. elevation etc… The data for each wildfire is presented in rows.
I’ll attach a dataset which has the data about the wildfire spread and starting point and a weather dataset another file. we are currently in a stage of combining those 2 and creating one file which shows the wildfire starting point spread and weather data both on one file.
The inputs to the wildfire model in grass GIS use data as separate files. we need to convert our sheet to that type of set of separate data files.
You can download the Grass GIS fire simulation dataset clicking here and go to the end of that page.
It has the data as a set of files, when extracted go to demolocation->demomapset->cats

Thank you …!!!

(attachments)

FWS-AKAMR_1972-2017_PchaFfp.xlsx (11.6 KB)
weatherData.xls (161 KB)

···

On Sat, Aug 4, 2018 at 10:01 AM, Kalindu Perera <kkc199408@gmail.com> wrote:

Hi Thomas,

Thanks a lot for your reply. I’ll explain more.
We have a dataset with data about a wildfire, starting point of the fire, slope, wind velocity, wind direction, elevation, fuel models and fuel moisture.
That data is in an excel sheet separated into columns.
we need to convert that data to the format which is like in the Grass GIS fire simulation data set. So that we can calculate the spread of our wildfire using r.ros
Grass GIS fire simulation data set has data about 1 wildfire and the data is presented separately as files. As an example slope is a separate file. the elevation is another file
What we need is how to convert our wildfire data which is in the excel sheet to those type of files?
Is there any script or something to convert?

Thank you…!!!

On Sat, 4 Aug 2018 at 18:36, Thomas Adams <tea3rd@gmail.com> wrote:

Kalindu,

I think you need to provide more information. It sounds like you have point data, which means your data should be imported using v.in.ogr or v.in.ascii, if you were to convert you excel file to an ascii text file.

Regards,
Tom

On Sat, Aug 4, 2018 at 3:46 AM, Kalindu Perera <kkc199408@gmail.com> wrote:

Hi everyone,
We have encountered a problem when we trying to convert a wildfire data set to the format that can be used in the grass GIS. We have the data in an excel sheet as records. Grass GIS fire simulation dataset has a set of files as the inputs. The format of the data in the files is unclear. Is there any conversion method of normal fire data to the format that can be used in the Grass GIS?..We have the same input data, we need to convert them like the fire simulation data set provided in the Grass GIS sample data page.

Thank you…!!!
Awaiting a helpful response


grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

On Sat, 4 Aug 2018, Kalindu Perera wrote:

The inputs to the wildfire model in grass GIS use data as separate files.
we need to convert our sheet to that type of set of separate data files.

Kalindu,

   In grass, all 'themes,' or 'layers' are kept as separate maps, not a
single file. For example, your DEM for the area of a wildfire will be in one
raster map, the slope and aspect in another, etc. This way you can combine
each specific map with others to perform the analyses needed.

   Keeping everything in a single file, such as your spreadsheet, does not
support re-use.

   As you learn more about grass you'll appreciate the differences.

HTH,

Rich

Thanks a lot, Rich…!!! For your valuable information

We also need to convert our one file to that type of dataset.
We are asking for that conversion mechanism.

Regards

On Sat, 4 Aug 2018 at 23:09, Rich Shepard <rshepard@appl-ecosys.com> wrote:

On Sat, 4 Aug 2018, Kalindu Perera wrote:

The inputs to the wildfire model in grass GIS use data as separate files.
we need to convert our sheet to that type of set of separate data files.

Kalindu,

In grass, all ‘themes,’ or ‘layers’ are kept as separate maps, not a
single file. For example, your DEM for the area of a wildfire will be in one
raster map, the slope and aspect in another, etc. This way you can combine
each specific map with others to perform the analyses needed.

Keeping everything in a single file, such as your spreadsheet, does not
support re-use.

As you learn more about grass you’ll appreciate the differences.

HTH,

Rich


grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

We also need to convert our one file to that type of dataset.

looking at the r.ros manual
(https://grass.osgeo.org/grass75/manuals/r.ros.html)

[...]
model=name [required]
    Raster map containing fuel models
    Name of an existing raster map layer in the user's current mapset search
path containing the standard fuel models defined by the USDA Forest Service.
Valid values are 1-13; other numbers are recognized as barriers by r.ros.
moisture_1h=name
    Raster map containing the 1-hour fuel moisture (%)
    Name of an existing raster map layer in the user's current mapset search
path containing the 1-hour (<.25") fuel moisture (percentage content
multiplied by 100).
moisture_10h=name
    Raster map containing the 10-hour fuel moisture (%)
    Name of an existing raster map layer in the user's current mapset search
path containing the 10-hour (.25-1") fuel moisture (percentage content
multiplied by 100).
moisture_100h=name
    Raster map containing the 100-hour fuel moisture (%)
    Name of an existing raster map layer in the user's current mapset search
path containing the 100-hour (1-3") fuel moisture (percentage content
multiplied by 100).
moisture_live=name [required]
    Raster map containing live fuel moisture (%)
    Name of an existing raster map layer in the user's current mapset search
path containing live (herbaceous) fuel moisture (percentage content
multiplied by 100).
velocity=name
    Raster map containing midflame wind velocities (ft/min)
    Name of an existing raster map layer in the user's current mapset search
path containing wind velocities at half of the average flame height
(feet/minute).
direction=name
    Name of raster map containing wind directions (degree)
    Name of an existing raster map layer in the user's current mapset search
path containing wind direction, clockwise from north (degree).
[...]

these are raster maps

looking at the r.ros sample data set
(https://grass.osgeo.org/sampledata/fire_grass6data.tar.gz)

----
g.list type=raster
1hour_moisture
CVS
aspect
elevation
fire_origin
fuel_model
image_burned
live_moisture
my_path
my_ros.base
my_ros.max
my_ros.maxdir
my_ros.spotdist
slope
spread_time_observed
wind_direction
wind_speed
----

looking at your excel file, it seems there are only a few points with some
additional information like Latitude, Longitude, Slope, Elevation, Aspect.
these are vector points.

for a simulation in a computional region of your interest, you need these
input raster maps mentioned in the the r.ros, r.spread and r.spreadpath
manuals.

it seems these input raster maps can't be produced by your point information
data; these input raster maps may be compiled by yourself based on some
suppporting data by yourself.

-----
best regards
Helmut
--
Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Users-f3884509.html

On Sat, 4 Aug 2018, Kalindu Perera wrote:

We also need to convert our one file to that type of dataset. We are
asking for that conversion mechanism.

Kalindu,

   Use awk (gawk, actually). It's great for this type of data manipulation.

Rich

Kalindu,

I do not see any lat/long coordinates. Do you have them in a separate file by station ID. As Rich Shepard suggested, it is far best to have all the data in a single file including the lat/long locations for the station IDs.

Tom

···

On Sat, Aug 4, 2018 at 12:58 PM, Kalindu Perera <kkc199408@gmail.com> wrote:

Hi Thomas,
Yes, the starting point is latitude and longitude coordinates.
It’s actually not 2 columns. It has a separate column for each one slope. elevation etc… The data for each wildfire is presented in rows.
I’ll attach a dataset which has the data about the wildfire spread and starting point and a weather dataset another file. we are currently in a stage of combining those 2 and creating one file which shows the wildfire starting point spread and weather data both on one file.
The inputs to the wildfire model in grass GIS use data as separate files. we need to convert our sheet to that type of set of separate data files.
You can download the Grass GIS fire simulation dataset clicking here and go to the end of that page.
It has the data as a set of files, when extracted go to demolocation->demomapset->cats

Thank you …!!!

On Sat, 4 Aug 2018 at 19:47, Thomas Adams <tea3rd@gmail.com> wrote:

Kalindu,

First, I have never done any wildfire modeling and I am not familiar with the process in GRASS. So, I’m not sure what the requirements are in GRASS to do this. However, I do not understand how 2 columns of data can contain “starting point of the fire, slope, wind velocity, wind direction, elevation, fuel models and fuel moisture” unless the data are in separate rows; but that does not make sense either to me. Is the “starting point of the fire” in lat/long coordinates or some other geographic coordinates?

I really think it would be helpful to see an example dataset with an explanation. I or others can help you with answering questions about importing your datasets, but not without this information.

Best,
Tom

On Sat, Aug 4, 2018 at 10:01 AM, Kalindu Perera <kkc199408@gmail.com> wrote:

Hi Thomas,

Thanks a lot for your reply. I’ll explain more.
We have a dataset with data about a wildfire, starting point of the fire, slope, wind velocity, wind direction, elevation, fuel models and fuel moisture.
That data is in an excel sheet separated into columns.
we need to convert that data to the format which is like in the Grass GIS fire simulation data set. So that we can calculate the spread of our wildfire using r.ros
Grass GIS fire simulation data set has data about 1 wildfire and the data is presented separately as files. As an example slope is a separate file. the elevation is another file
What we need is how to convert our wildfire data which is in the excel sheet to those type of files?
Is there any script or something to convert?

Thank you…!!!

On Sat, 4 Aug 2018 at 18:36, Thomas Adams <tea3rd@gmail.com> wrote:

Kalindu,

I think you need to provide more information. It sounds like you have point data, which means your data should be imported using v.in.ogr or v.in.ascii, if you were to convert you excel file to an ascii text file.

Regards,
Tom

On Sat, Aug 4, 2018 at 3:46 AM, Kalindu Perera <kkc199408@gmail.com> wrote:

Hi everyone,
We have encountered a problem when we trying to convert a wildfire data set to the format that can be used in the grass GIS. We have the data in an excel sheet as records. Grass GIS fire simulation dataset has a set of files as the inputs. The format of the data in the files is unclear. Is there any conversion method of normal fire data to the format that can be used in the Grass GIS?..We have the same input data, we need to convert them like the fire simulation data set provided in the Grass GIS sample data page.

Thank you…!!!
Awaiting a helpful response


grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

Hi all,

I think what kalindu asks is, he got the location and how to create the elevation raster map for that coordination, he got the humidity and how to create the humidity raster file, he got the wind speed reading and how to create wind speed raster file, like on and on. Are there any manuals or tutorials for creating these files? Thank you. Have a wonderful day guys!!

BR,
Vidura Dantanarayana.

···

On Sat, Aug 4, 2018 at 12:58 PM, Kalindu Perera <kkc199408@gmail.com> wrote:

Hi Thomas,
Yes, the starting point is latitude and longitude coordinates.
It’s actually not 2 columns. It has a separate column for each one slope. elevation etc… The data for each wildfire is presented in rows.
I’ll attach a dataset which has the data about the wildfire spread and starting point and a weather dataset another file. we are currently in a stage of combining those 2 and creating one file which shows the wildfire starting point spread and weather data both on one file.
The inputs to the wildfire model in grass GIS use data as separate files. we need to convert our sheet to that type of set of separate data files.
You can download the Grass GIS fire simulation dataset clicking here and go to the end of that page.
It has the data as a set of files, when extracted go to demolocation->demomapset->cats

Thank you …!!!

On Sat, 4 Aug 2018 at 19:47, Thomas Adams <tea3rd@gmail.com> wrote:

Kalindu,

First, I have never done any wildfire modeling and I am not familiar with the process in GRASS. So, I’m not sure what the requirements are in GRASS to do this. However, I do not understand how 2 columns of data can contain “starting point of the fire, slope, wind velocity, wind direction, elevation, fuel models and fuel moisture” unless the data are in separate rows; but that does not make sense either to me. Is the “starting point of the fire” in lat/long coordinates or some other geographic coordinates?

I really think it would be helpful to see an example dataset with an explanation. I or others can help you with answering questions about importing your datasets, but not without this information.

Best,
Tom

On Sat, Aug 4, 2018 at 10:01 AM, Kalindu Perera <kkc199408@gmail.com> wrote:

Hi Thomas,

Thanks a lot for your reply. I’ll explain more.
We have a dataset with data about a wildfire, starting point of the fire, slope, wind velocity, wind direction, elevation, fuel models and fuel moisture.
That data is in an excel sheet separated into columns.
we need to convert that data to the format which is like in the Grass GIS fire simulation data set. So that we can calculate the spread of our wildfire using r.ros
Grass GIS fire simulation data set has data about 1 wildfire and the data is presented separately as files. As an example slope is a separate file. the elevation is another file
What we need is how to convert our wildfire data which is in the excel sheet to those type of files?
Is there any script or something to convert?

Thank you…!!!

On Sat, 4 Aug 2018 at 18:36, Thomas Adams <tea3rd@gmail.com> wrote:

Kalindu,

I think you need to provide more information. It sounds like you have point data, which means your data should be imported using v.in.ogr or v.in.ascii, if you were to convert you excel file to an ascii text file.

Regards,
Tom

On Sat, Aug 4, 2018 at 3:46 AM, Kalindu Perera <kkc199408@gmail.com> wrote:

Hi everyone,
We have encountered a problem when we trying to convert a wildfire data set to the format that can be used in the grass GIS. We have the data in an excel sheet as records. Grass GIS fire simulation dataset has a set of files as the inputs. The format of the data in the files is unclear. Is there any conversion method of normal fire data to the format that can be used in the Grass GIS?..We have the same input data, we need to convert them like the fire simulation data set provided in the Grass GIS sample data page.

Thank you…!!!
Awaiting a helpful response


grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

Vidura,

Not sure I understand what you’re saying, but if I understand – at least what I have been saying still holds:

(1) I have not looked at what fire simulation in GRASS requires (so, some of what I have written may be wrong)

(2) each variable requires a latitude-longitude location – a point measurement, such as wind speed or relative humidity
(3) all the data can be in a single file, structured the way the Excel spreadsheet is structured, EXCEPT that…
(4) presumably, each row is a point location identified by a station ID – it MUST have spatial coordinates, such as lat-long
(5) so, as it stands, the rows do NOT have the spatial coordinates – this is REQUIRED
(6) once the data file is structured to contain the spatial coordinates, it can be easily imported into GRASS as I posted previously
(7) once the point data is imported with all the attributes, like wind speed, relative humidity, etc. at each point…
(8) spatial interpolation is probably needed, such as inverse distance weighting, ordinary or universal kriging… for EACH VARIABLE (one issue is keeping the data spatially consistent between variable, like temperature and relative humidity, which should probably vary together in a correlated way)…

(9) run the GRASS fire simulation module, provided you have the necessary data.

Note: if the point data is for different dates/times, multiple files are needed named according to the date/time

Tom

···

On Sat, Aug 4, 2018 at 4:50 PM, Vidura Dantanarayana <vidurada@gmail.com> wrote:

Hi all,

I think what kalindu asks is, he got the location and how to create the elevation raster map for that coordination, he got the humidity and how to create the humidity raster file, he got the wind speed reading and how to create wind speed raster file, like on and on. Are there any manuals or tutorials for creating these files? Thank you. Have a wonderful day guys!!

BR,
Vidura Dantanarayana.

On Sun, Aug 5, 2018 at 5:34 AM Thomas Adams <tea3rd@gmail.com> wrote:

Kalindu,

I do not see any lat/long coordinates. Do you have them in a separate file by station ID. As Rich Shepard suggested, it is far best to have all the data in a single file including the lat/long locations for the station IDs.

Tom


grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

On Sat, Aug 4, 2018 at 12:58 PM, Kalindu Perera <kkc199408@gmail.com> wrote:

Hi Thomas,
Yes, the starting point is latitude and longitude coordinates.
It’s actually not 2 columns. It has a separate column for each one slope. elevation etc… The data for each wildfire is presented in rows.
I’ll attach a dataset which has the data about the wildfire spread and starting point and a weather dataset another file. we are currently in a stage of combining those 2 and creating one file which shows the wildfire starting point spread and weather data both on one file.
The inputs to the wildfire model in grass GIS use data as separate files. we need to convert our sheet to that type of set of separate data files.
You can download the Grass GIS fire simulation dataset clicking here and go to the end of that page.
It has the data as a set of files, when extracted go to demolocation->demomapset->cats

Thank you …!!!

On Sat, 4 Aug 2018 at 19:47, Thomas Adams <tea3rd@gmail.com> wrote:

Kalindu,

First, I have never done any wildfire modeling and I am not familiar with the process in GRASS. So, I’m not sure what the requirements are in GRASS to do this. However, I do not understand how 2 columns of data can contain “starting point of the fire, slope, wind velocity, wind direction, elevation, fuel models and fuel moisture” unless the data are in separate rows; but that does not make sense either to me. Is the “starting point of the fire” in lat/long coordinates or some other geographic coordinates?

I really think it would be helpful to see an example dataset with an explanation. I or others can help you with answering questions about importing your datasets, but not without this information.

Best,
Tom

On Sat, Aug 4, 2018 at 10:01 AM, Kalindu Perera <kkc199408@gmail.com> wrote:

Hi Thomas,

Thanks a lot for your reply. I’ll explain more.
We have a dataset with data about a wildfire, starting point of the fire, slope, wind velocity, wind direction, elevation, fuel models and fuel moisture.
That data is in an excel sheet separated into columns.
we need to convert that data to the format which is like in the Grass GIS fire simulation data set. So that we can calculate the spread of our wildfire using r.ros
Grass GIS fire simulation data set has data about 1 wildfire and the data is presented separately as files. As an example slope is a separate file. the elevation is another file
What we need is how to convert our wildfire data which is in the excel sheet to those type of files?
Is there any script or something to convert?

Thank you…!!!

On Sat, 4 Aug 2018 at 18:36, Thomas Adams <tea3rd@gmail.com> wrote:

Kalindu,

I think you need to provide more information. It sounds like you have point data, which means your data should be imported using v.in.ogr or v.in.ascii, if you were to convert you excel file to an ascii text file.

Regards,
Tom

On Sat, Aug 4, 2018 at 3:46 AM, Kalindu Perera <kkc199408@gmail.com> wrote:

Hi everyone,
We have encountered a problem when we trying to convert a wildfire data set to the format that can be used in the grass GIS. We have the data in an excel sheet as records. Grass GIS fire simulation dataset has a set of files as the inputs. The format of the data in the files is unclear. Is there any conversion method of normal fire data to the format that can be used in the Grass GIS?..We have the same input data, we need to convert them like the fire simulation data set provided in the Grass GIS sample data page.

Thank you…!!!
Awaiting a helpful response


grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

Hi Thomas

As I said earlier we are in the process of creating one file which has lat/long coordinates as well as relevant point measurements like wind velocity, wind direction etc… as you said required for importing the data to the Grass GIS
Just assume that we have that file.
We need the mechanism for converting that file for importing as a wildfire simulation data set to run in the GrassGIS
As you said here
(6) once the data file is structured to contain the spatial coordinates, it can be easily imported into GRASS as I posted previously

How can we import it to the Grass GIS as a data set?

Thanks a lot…!!!..Thomas for your patience replies
Thanks, Rich and Helmut as well for your information…

···

On Sat, Aug 4, 2018 at 4:50 PM, Vidura Dantanarayana <vidurada@gmail.com> wrote:

Hi all,

I think what kalindu asks is, he got the location and how to create the elevation raster map for that coordination, he got the humidity and how to create the humidity raster file, he got the wind speed reading and how to create wind speed raster file, like on and on. Are there any manuals or tutorials for creating these files? Thank you. Have a wonderful day guys!!

BR,
Vidura Dantanarayana.

On Sun, Aug 5, 2018 at 5:34 AM Thomas Adams <tea3rd@gmail.com> wrote:

Kalindu,

I do not see any lat/long coordinates. Do you have them in a separate file by station ID. As Rich Shepard suggested, it is far best to have all the data in a single file including the lat/long locations for the station IDs.

Tom


grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

On Sat, Aug 4, 2018 at 12:58 PM, Kalindu Perera <kkc199408@gmail.com> wrote:

Hi Thomas,
Yes, the starting point is latitude and longitude coordinates.
It’s actually not 2 columns. It has a separate column for each one slope. elevation etc… The data for each wildfire is presented in rows.
I’ll attach a dataset which has the data about the wildfire spread and starting point and a weather dataset another file. we are currently in a stage of combining those 2 and creating one file which shows the wildfire starting point spread and weather data both on one file.
The inputs to the wildfire model in grass GIS use data as separate files. we need to convert our sheet to that type of set of separate data files.
You can download the Grass GIS fire simulation dataset clicking here and go to the end of that page.
It has the data as a set of files, when extracted go to demolocation->demomapset->cats

Thank you …!!!

On Sat, 4 Aug 2018 at 19:47, Thomas Adams <tea3rd@gmail.com> wrote:

Kalindu,

First, I have never done any wildfire modeling and I am not familiar with the process in GRASS. So, I’m not sure what the requirements are in GRASS to do this. However, I do not understand how 2 columns of data can contain “starting point of the fire, slope, wind velocity, wind direction, elevation, fuel models and fuel moisture” unless the data are in separate rows; but that does not make sense either to me. Is the “starting point of the fire” in lat/long coordinates or some other geographic coordinates?

I really think it would be helpful to see an example dataset with an explanation. I or others can help you with answering questions about importing your datasets, but not without this information.

Best,
Tom

On Sat, Aug 4, 2018 at 10:01 AM, Kalindu Perera <kkc199408@gmail.com> wrote:

Hi Thomas,

Thanks a lot for your reply. I’ll explain more.
We have a dataset with data about a wildfire, starting point of the fire, slope, wind velocity, wind direction, elevation, fuel models and fuel moisture.
That data is in an excel sheet separated into columns.
we need to convert that data to the format which is like in the Grass GIS fire simulation data set. So that we can calculate the spread of our wildfire using r.ros
Grass GIS fire simulation data set has data about 1 wildfire and the data is presented separately as files. As an example slope is a separate file. the elevation is another file
What we need is how to convert our wildfire data which is in the excel sheet to those type of files?
Is there any script or something to convert?

Thank you…!!!

On Sat, 4 Aug 2018 at 18:36, Thomas Adams <tea3rd@gmail.com> wrote:

Kalindu,

I think you need to provide more information. It sounds like you have point data, which means your data should be imported using v.in.ogr or v.in.ascii, if you were to convert you excel file to an ascii text file.

Regards,
Tom

On Sat, Aug 4, 2018 at 3:46 AM, Kalindu Perera <kkc199408@gmail.com> wrote:

Hi everyone,
We have encountered a problem when we trying to convert a wildfire data set to the format that can be used in the grass GIS. We have the data in an excel sheet as records. Grass GIS fire simulation dataset has a set of files as the inputs. The format of the data in the files is unclear. Is there any conversion method of normal fire data to the format that can be used in the Grass GIS?..We have the same input data, we need to convert them like the fire simulation data set provided in the Grass GIS sample data page.

Thank you…!!!
Awaiting a helpful response


grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

How can we import it to the Grass GIS as a data set?

regarding your excel data with xy-coordinates, you can use v.in.ascii, after
you saved the Excel file as a text file.

Am I right that the excel data are point information of fire events over
several years?

Please read the manuals of r.ros and co carefully, several raster data are
needed for this modules.

e.g. digital elevation models (DEM) and derived Parameters like slope and
aspect; if you don't have a DEM for your region of interest, you can use
e.g. SRTM or other public available data.

Regarding wind direction and velocity, maybe there are some meteorologic
station around your region of interest; as others already mentioned, use
this station data and e.g.interpolate these data to a raster.

Regarding humidity layers, maybe use landcover data to approximate these
parameters.

the best may be to read the module's author references, listed in the
manuals, how they compiled these needed input raster data.

It seems such information is missing in the manuals, contributions to
improve the manuals are very welcome.

-----
best regards
Helmut
--
Sent from: http://osgeo-org.1560.x6.nabble.com/Grass-Users-f3884509.html

Kalindu,

To import your files use v.in.ogr if an Excel spreadsheet or v.in.ascii if you have converted it to an ascii text file. You need to read the documentation and do some internet Google Searches to learn more.

Tom

···

On Sun, Aug 5, 2018 at 2:04 AM, Kalindu Perera <kkc199408@gmail.com> wrote:

Hi Thomas

As I said earlier we are in the process of creating one file which has lat/long coordinates as well as relevant point measurements like wind velocity, wind direction etc… as you said required for importing the data to the Grass GIS
Just assume that we have that file.
We need the mechanism for converting that file for importing as a wildfire simulation data set to run in the GrassGIS
As you said here

(6) once the data file is structured to contain the spatial coordinates, it can be easily imported into GRASS as I posted previously

How can we import it to the Grass GIS as a data set?

Thanks a lot…!!!..Thomas for your patience replies
Thanks, Rich and Helmut as well for your information…

On Sun, 5 Aug 2018 at 08:47, Thomas Adams <tea3rd@gmail.com> wrote:

Vidura,

Not sure I understand what you’re saying, but if I understand – at least what I have been saying still holds:

(1) I have not looked at what fire simulation in GRASS requires (so, some of what I have written may be wrong)

(2) each variable requires a latitude-longitude location – a point measurement, such as wind speed or relative humidity
(3) all the data can be in a single file, structured the way the Excel spreadsheet is structured, EXCEPT that…
(4) presumably, each row is a point location identified by a station ID – it MUST have spatial coordinates, such as lat-long
(5) so, as it stands, the rows do NOT have the spatial coordinates – this is REQUIRED
(6) once the data file is structured to contain the spatial coordinates, it can be easily imported into GRASS as I posted previously
(7) once the point data is imported with all the attributes, like wind speed, relative humidity, etc. at each point…
(8) spatial interpolation is probably needed, such as inverse distance weighting, ordinary or universal kriging… for EACH VARIABLE (one issue is keeping the data spatially consistent between variable, like temperature and relative humidity, which should probably vary together in a correlated way)…

(9) run the GRASS fire simulation module, provided you have the necessary data.

Note: if the point data is for different dates/times, multiple files are needed named according to the date/time

Tom

On Sat, Aug 4, 2018 at 4:50 PM, Vidura Dantanarayana <vidurada@gmail.com> wrote:

Hi all,

I think what kalindu asks is, he got the location and how to create the elevation raster map for that coordination, he got the humidity and how to create the humidity raster file, he got the wind speed reading and how to create wind speed raster file, like on and on. Are there any manuals or tutorials for creating these files? Thank you. Have a wonderful day guys!!

BR,
Vidura Dantanarayana.

On Sun, Aug 5, 2018 at 5:34 AM Thomas Adams <tea3rd@gmail.com> wrote:

Kalindu,

I do not see any lat/long coordinates. Do you have them in a separate file by station ID. As Rich Shepard suggested, it is far best to have all the data in a single file including the lat/long locations for the station IDs.

Tom


grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

On Sat, Aug 4, 2018 at 12:58 PM, Kalindu Perera <kkc199408@gmail.com> wrote:

Hi Thomas,
Yes, the starting point is latitude and longitude coordinates.
It’s actually not 2 columns. It has a separate column for each one slope. elevation etc… The data for each wildfire is presented in rows.
I’ll attach a dataset which has the data about the wildfire spread and starting point and a weather dataset another file. we are currently in a stage of combining those 2 and creating one file which shows the wildfire starting point spread and weather data both on one file.
The inputs to the wildfire model in grass GIS use data as separate files. we need to convert our sheet to that type of set of separate data files.
You can download the Grass GIS fire simulation dataset clicking here and go to the end of that page.
It has the data as a set of files, when extracted go to demolocation->demomapset->cats

Thank you …!!!

On Sat, 4 Aug 2018 at 19:47, Thomas Adams <tea3rd@gmail.com> wrote:

Kalindu,

First, I have never done any wildfire modeling and I am not familiar with the process in GRASS. So, I’m not sure what the requirements are in GRASS to do this. However, I do not understand how 2 columns of data can contain “starting point of the fire, slope, wind velocity, wind direction, elevation, fuel models and fuel moisture” unless the data are in separate rows; but that does not make sense either to me. Is the “starting point of the fire” in lat/long coordinates or some other geographic coordinates?

I really think it would be helpful to see an example dataset with an explanation. I or others can help you with answering questions about importing your datasets, but not without this information.

Best,
Tom

On Sat, Aug 4, 2018 at 10:01 AM, Kalindu Perera <kkc199408@gmail.com> wrote:

Hi Thomas,

Thanks a lot for your reply. I’ll explain more.
We have a dataset with data about a wildfire, starting point of the fire, slope, wind velocity, wind direction, elevation, fuel models and fuel moisture.
That data is in an excel sheet separated into columns.
we need to convert that data to the format which is like in the Grass GIS fire simulation data set. So that we can calculate the spread of our wildfire using r.ros
Grass GIS fire simulation data set has data about 1 wildfire and the data is presented separately as files. As an example slope is a separate file. the elevation is another file
What we need is how to convert our wildfire data which is in the excel sheet to those type of files?
Is there any script or something to convert?

Thank you…!!!

On Sat, 4 Aug 2018 at 18:36, Thomas Adams <tea3rd@gmail.com> wrote:

Kalindu,

I think you need to provide more information. It sounds like you have point data, which means your data should be imported using v.in.ogr or v.in.ascii, if you were to convert you excel file to an ascii text file.

Regards,
Tom

On Sat, Aug 4, 2018 at 3:46 AM, Kalindu Perera <kkc199408@gmail.com> wrote:

Hi everyone,
We have encountered a problem when we trying to convert a wildfire data set to the format that can be used in the grass GIS. We have the data in an excel sheet as records. Grass GIS fire simulation dataset has a set of files as the inputs. The format of the data in the files is unclear. Is there any conversion method of normal fire data to the format that can be used in the Grass GIS?..We have the same input data, we need to convert them like the fire simulation data set provided in the Grass GIS sample data page.

Thank you…!!!
Awaiting a helpful response


grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

Thanks, Thomas I’ll check it out.

Thanks a lot, Helmut for your detailed description. If we could complete this task we will be definitely contributing for updating the manual.
Regards everyone…

···

On Sun, Aug 5, 2018 at 2:04 AM, Kalindu Perera <kkc199408@gmail.com> wrote:

Hi Thomas

As I said earlier we are in the process of creating one file which has lat/long coordinates as well as relevant point measurements like wind velocity, wind direction etc… as you said required for importing the data to the Grass GIS
Just assume that we have that file.
We need the mechanism for converting that file for importing as a wildfire simulation data set to run in the GrassGIS
As you said here

(6) once the data file is structured to contain the spatial coordinates, it can be easily imported into GRASS as I posted previously

How can we import it to the Grass GIS as a data set?

Thanks a lot…!!!..Thomas for your patience replies
Thanks, Rich and Helmut as well for your information…

On Sun, 5 Aug 2018 at 08:47, Thomas Adams <tea3rd@gmail.com> wrote:

Vidura,

Not sure I understand what you’re saying, but if I understand – at least what I have been saying still holds:

(1) I have not looked at what fire simulation in GRASS requires (so, some of what I have written may be wrong)

(2) each variable requires a latitude-longitude location – a point measurement, such as wind speed or relative humidity
(3) all the data can be in a single file, structured the way the Excel spreadsheet is structured, EXCEPT that…
(4) presumably, each row is a point location identified by a station ID – it MUST have spatial coordinates, such as lat-long
(5) so, as it stands, the rows do NOT have the spatial coordinates – this is REQUIRED
(6) once the data file is structured to contain the spatial coordinates, it can be easily imported into GRASS as I posted previously
(7) once the point data is imported with all the attributes, like wind speed, relative humidity, etc. at each point…
(8) spatial interpolation is probably needed, such as inverse distance weighting, ordinary or universal kriging… for EACH VARIABLE (one issue is keeping the data spatially consistent between variable, like temperature and relative humidity, which should probably vary together in a correlated way)…

(9) run the GRASS fire simulation module, provided you have the necessary data.

Note: if the point data is for different dates/times, multiple files are needed named according to the date/time

Tom

On Sat, Aug 4, 2018 at 4:50 PM, Vidura Dantanarayana <vidurada@gmail.com> wrote:

Hi all,

I think what kalindu asks is, he got the location and how to create the elevation raster map for that coordination, he got the humidity and how to create the humidity raster file, he got the wind speed reading and how to create wind speed raster file, like on and on. Are there any manuals or tutorials for creating these files? Thank you. Have a wonderful day guys!!

BR,
Vidura Dantanarayana.

On Sun, Aug 5, 2018 at 5:34 AM Thomas Adams <tea3rd@gmail.com> wrote:

Kalindu,

I do not see any lat/long coordinates. Do you have them in a separate file by station ID. As Rich Shepard suggested, it is far best to have all the data in a single file including the lat/long locations for the station IDs.

Tom


grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user

On Sat, Aug 4, 2018 at 12:58 PM, Kalindu Perera <kkc199408@gmail.com> wrote:

Hi Thomas,
Yes, the starting point is latitude and longitude coordinates.
It’s actually not 2 columns. It has a separate column for each one slope. elevation etc… The data for each wildfire is presented in rows.
I’ll attach a dataset which has the data about the wildfire spread and starting point and a weather dataset another file. we are currently in a stage of combining those 2 and creating one file which shows the wildfire starting point spread and weather data both on one file.
The inputs to the wildfire model in grass GIS use data as separate files. we need to convert our sheet to that type of set of separate data files.
You can download the Grass GIS fire simulation dataset clicking here and go to the end of that page.
It has the data as a set of files, when extracted go to demolocation->demomapset->cats

Thank you …!!!

On Sat, 4 Aug 2018 at 19:47, Thomas Adams <tea3rd@gmail.com> wrote:

Kalindu,

First, I have never done any wildfire modeling and I am not familiar with the process in GRASS. So, I’m not sure what the requirements are in GRASS to do this. However, I do not understand how 2 columns of data can contain “starting point of the fire, slope, wind velocity, wind direction, elevation, fuel models and fuel moisture” unless the data are in separate rows; but that does not make sense either to me. Is the “starting point of the fire” in lat/long coordinates or some other geographic coordinates?

I really think it would be helpful to see an example dataset with an explanation. I or others can help you with answering questions about importing your datasets, but not without this information.

Best,
Tom

On Sat, Aug 4, 2018 at 10:01 AM, Kalindu Perera <kkc199408@gmail.com> wrote:

Hi Thomas,

Thanks a lot for your reply. I’ll explain more.
We have a dataset with data about a wildfire, starting point of the fire, slope, wind velocity, wind direction, elevation, fuel models and fuel moisture.
That data is in an excel sheet separated into columns.
we need to convert that data to the format which is like in the Grass GIS fire simulation data set. So that we can calculate the spread of our wildfire using r.ros
Grass GIS fire simulation data set has data about 1 wildfire and the data is presented separately as files. As an example slope is a separate file. the elevation is another file
What we need is how to convert our wildfire data which is in the excel sheet to those type of files?
Is there any script or something to convert?

Thank you…!!!

On Sat, 4 Aug 2018 at 18:36, Thomas Adams <tea3rd@gmail.com> wrote:

Kalindu,

I think you need to provide more information. It sounds like you have point data, which means your data should be imported using v.in.ogr or v.in.ascii, if you were to convert you excel file to an ascii text file.

Regards,
Tom

On Sat, Aug 4, 2018 at 3:46 AM, Kalindu Perera <kkc199408@gmail.com> wrote:

Hi everyone,
We have encountered a problem when we trying to convert a wildfire data set to the format that can be used in the grass GIS. We have the data in an excel sheet as records. Grass GIS fire simulation dataset has a set of files as the inputs. The format of the data in the files is unclear. Is there any conversion method of normal fire data to the format that can be used in the Grass GIS?..We have the same input data, we need to convert them like the fire simulation data set provided in the Grass GIS sample data page.

Thank you…!!!
Awaiting a helpful response


grass-user mailing list
grass-user@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/grass-user