Fortran

Guide To Learn

Getting the data and code

The complete source code for the weather buoy exercise is available on GitHub at https://github.com/modern-fortran/weather-buoys. If you use git, clone it directly from the command line: Otherwise, you can download it as a zip file from http://mng.bz/aRVo. The CSV data files are located in the weather-buoys/data directory. I encourage you to explore the data files from your […]

Processing real-world weather buoy data

For a gentle entry into parallel programming, we’ll process and analyze a real-world weather buoy dataset. This is a miniature example of the big data challenge: how to process a large amount of data that may be too big to fit into memory, or may take too long to process sequentially. The crux of the […]

Exercise: Redirect stdout and stderr to files

Let’s redirect output to standard output and error channels into their respective files from within the Fortran program. Why would you want to do this? For some applications that run for a long time, such as large weather and ocean prediction models that can run for days, it’s useful to write standard output and error […]

Scroll to top