Extract values from ASCII file in GIS by Fortran code

  • Context: Fortran 
  • Thread starter Thread starter Pooyannikeghbali
  • Start date Start date
  • Tags Tags
    Code File Fortran
Click For Summary
SUMMARY

This discussion focuses on extracting values from ASCII files in GIS using Fortran code. The user seeks assistance in reading mesh values, such as water velocity, from an ASCII file format, specifically referencing the Esri grid format. While no specific Fortran code is provided, it is noted that writing such a program is feasible, especially for those familiar with Fortran 90. The conversation emphasizes understanding file handling in Fortran as a critical step in processing GIS data.

PREREQUISITES
  • Fortran 90 programming knowledge
  • Understanding of ASCII file formats, particularly Esri grid
  • Basic GIS concepts, including meshing and data representation
  • File I/O operations in programming
NEXT STEPS
  • Research how to implement file I/O in Fortran 90
  • Study the Esri grid format for better comprehension of GIS data structures
  • Explore examples of reading ASCII files in other programming languages for comparison
  • Learn about data manipulation techniques post file reading in Fortran
USEFUL FOR

This discussion is beneficial for GIS developers, Fortran programmers, and anyone interested in processing ASCII files for geographic data analysis.

Pooyannikeghbali
Messages
3
Reaction score
1
TL;DR
I want to read values from the ASCII file of GIS by Fortran code.
I want to read values from the ASCII file of GIS by Fortran code. In GIS, an area has meshed. Each mesh has an individual value (e.g. velocity of water). Here is the website that shows how the ASCII file is working in GIS.
https://en.wikipedia.org/wiki/Esri_grid

I want to know if anybody has this code in Fortran or other languages.
 
Technology news on Phys.org
Pooyannikeghbali said:
Summary:: I want to read values from the ASCII file of GIS by Fortran code.

I want to read values from the ASCII file of GIS by Fortran code. In GIS, an area has meshed. Each mesh has an individual value (e.g. velocity of water). Here is the website that shows how the ASCII file is working in GIS.
https://en.wikipedia.org/wiki/Esri_grid

I want to know if anybody has this code in Fortran or other languages.
I don't think anyone here will have an implementation in Fortran or any other language. It wouldn't be too hard to write one, though. You mentioned in your Intro that you have some experience with Fortran 90. Do you know how to open a file in Fortran and take input from the file?
 
  • Like
Likes   Reactions: FactChecker and berkeman
The format of the data looks like it is fairly straightforward to read in a variety of languages. The real question is what the program should do with it after it has read the data.
 

Similar threads

  • · Replies 4 ·
Replies
4
Views
3K
  • · Replies 16 ·
Replies
16
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 3 ·
Replies
3
Views
5K
  • · Replies 1 ·
Replies
1
Views
3K
Replies
65
Views
5K
  • · Replies 2 ·
Replies
2
Views
9K
  • · Replies 13 ·
Replies
13
Views
4K