Fortran 90 (need to read in binary data files into arrays)

Click For Summary
SUMMARY

The discussion focuses on reading binary data files into arrays using Fortran 90 for a project involving radio meteor scatter analysis. The user has over 80GB of binary data stored in .bin files, each approximately 1700KB. They are currently using a filter in MATLAB and Fortran 90 but need to adapt their program to handle binary files instead of ASCII. The suggestion provided includes converting the dataset to a more compatible format using C++ or Java for easier integration.

PREREQUISITES
  • Understanding of Fortran 90 programming
  • Familiarity with MATLAB for signal processing
  • Knowledge of binary file formats and data structures
  • Basic skills in C++ or Java for data conversion
NEXT STEPS
  • Research Fortran 90 file I/O operations for reading binary files
  • Learn how to manipulate arrays in Fortran 90
  • Explore MATLAB functions for handling binary data
  • Study data conversion techniques using C++ or Java
USEFUL FOR

This discussion is beneficial for undergraduate students in computer science or engineering, particularly those working on projects involving signal processing, as well as developers needing to integrate Fortran with other programming languages for data handling.

sparkstermaes
Messages
1
Reaction score
0
Hello,

I am currently doing a 3rd year undergrad project on forward radio meteor scatter

the problem involves the following:

I have over 80Gbs worth of 10 second data blocks of recorded radio input.

They are stored as date stamped .bin files in binary format, each of order 1700kb or so.

I am using a filter constructed in MatLab and fortran 90

I am reading in the filter to an array... then reading in the binary data blocks in blocks of 10 or 20. multiplying through the filter and outputing to a single .dat data file.

previously i was using test data that was in the ASCII language. now I have to convert the program to operate on binary files.

Is there an easy way to adapt the program to read in binary files into an array?

thank you. any more information, please ask.
 
Physics news on Phys.org
The easiest thing would be to convert your data set to a format that the current Fortran/Matlab app can read. Coding in that particular environment is nasty. Use something like C++ or Java to do the conversion.
 

Similar threads

Replies
7
Views
3K
  • · Replies 8 ·
Replies
8
Views
2K
  • · Replies 1 ·
Replies
1
Views
2K
  • · Replies 12 ·
Replies
12
Views
3K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 5 ·
Replies
5
Views
5K
  • · Replies 6 ·
Replies
6
Views
4K
  • · Replies 4 ·
Replies
4
Views
1K
  • · Replies 3 ·
Replies
3
Views
3K
  • · Replies 1 ·
Replies
1
Views
4K