Skip to content

mariospar/Fortran_DReader

Repository files navigation

Fortran_DReader

About

DReader is a fast, user friendly and simple data analyzer coded in Fortran, running on Windows. It can sort data, find statistical values as well as plot variables in 2D space, using gnuplot. DReader can read .txt and .csv file formats, in which their first row includes the labels, or "features".

Installation

Unfortunately, DReader is a dedicated to Windows application, but it can be modified in order to run on another OS. (More about that later)

Compilers

There are many fortran compilers but it seems that the most common is gfortran, which is part of the MINGW-W64 GCC Compiler.
To install it, follow this link

Note:

Make sure to add the mingw-w64 binaries to your environment variables

Prerequisites

  • gnuplot

You can install gnuplot from this link

Getting Started

To compile the DReader.f95 file to an executable:

  1. Open Windows Terminal
  2. Change directory to DReader.f95's parent directory
  3. Type:
gfortran DReader.f95 -o [your_preferred_name].exe 
  1. And finally run the executable
[your_preferred_name].exe

Other OS Issues

Fortran does not include any module or intrinsic function to retrieve OS info, thus it wasn't feasible to control the program's output and format it. To run the program on Linux, you will have to go through the source code and remove any execute command line code lines as well as explicitely determining the file from which you want to retrieve the data. I am aware of this inconvenience and I am eager to patch this in a future commit, but till now I haven't found an elegant way to incorporate this feature. Should you have a suggestion please contact me.

Contributors

This project was part of my semester evaluation towards the Programming in Fortran course I attended during my Sophomore year on Chemical Engineering. This project welcomes contributions and suggestions.

License

The DReader is Copyright © 2020 Marios Paraskevas, under the MIT License. See LICENSE for details.

About

A Data Analyzer made with Fortran

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published