Fortran Extract values from ASCII file in GIS by Fortran code

  • Thread starter Thread starter Pooyannikeghbali
  • Start date Start date
  • Tags Tags
    Code File Fortran
Click For Summary
The discussion centers on reading values from an ASCII file used in GIS, specifically focusing on Fortran code implementation. The user seeks assistance in accessing mesh values, such as water velocity, from the ASCII format. While there is skepticism about finding existing code in Fortran or other languages, it is noted that writing such a program should be manageable, especially for someone with experience in Fortran 90. The conversation highlights the importance of understanding file handling in Fortran and suggests that the data format is straightforward, but the challenge lies in determining the subsequent processing of the read data.
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 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.
 
Learn If you want to write code for Python Machine learning, AI Statistics/data analysis Scientific research Web application servers Some microcontrollers JavaScript/Node JS/TypeScript Web sites Web application servers C# Games (Unity) Consumer applications (Windows) Business applications C++ Games (Unreal Engine) Operating systems, device drivers Microcontrollers/embedded systems Consumer applications (Linux) Some more tips: Do not learn C++ (or any other dialect of C) as a...

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
1K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 3 ·
Replies
3
Views
5K
  • · Replies 1 ·
Replies
1
Views
2K
Replies
65
Views
5K
  • · Replies 2 ·
Replies
2
Views
9K
  • · Replies 13 ·
Replies
13
Views
4K