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

Kalindu Perera kkc199408 at gmail.com
Sun Aug 5 10:42:16 PDT 2018


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, 5 Aug 2018 at 17:55, Thomas Adams <tea3rd at gmail.com> wrote:

> 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 at 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 at 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 at 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 at 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
>>>>>
>>>>> On Sat, Aug 4, 2018 at 12:58 PM, Kalindu Perera <kkc199408 at 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
>>>>>> <https://grass.osgeo.org/download/sample-data/> 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 at 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 at 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 at 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 at 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 at lists.osgeo.org
>>>>>>>>>> https://lists.osgeo.org/mailman/listinfo/grass-user
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>>
>>>>>>>>>
>>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>
>>>>>
>>>>> _______________________________________________
>>>>> grass-user mailing list
>>>>> grass-user at lists.osgeo.org
>>>>> https://lists.osgeo.org/mailman/listinfo/grass-user
>>>>
>>>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/grass-user/attachments/20180805/34db4729/attachment-0001.html>


More information about the grass-user mailing list