Scientific programming with Fortran

Warning message

The start date of this training opportunity has already passed

General information

The goal of the course is to provide a hands-on introduction to computer programming focusing on solving the basic problems in data exploration, data analysis and data modelling. The students will be introduced to the Fortran 90 language and the GNU gfortran compiler. Emphasis will be placed on the use of libraries to read and save data in the NetCDF format. The course will also deal with the creation of personal libraries of procedures and their maintenance with the make utility and the creation of Makefile files.

Programme information: 

Week 1: Introduction to Fortran and to the Netcdf format: Fortran variable types, precision, and array manipulation. Subroutines and Functions. Structure of a Netcdf file: dimensions, variables and attributes. Reading and creating Netcdf files. Creation of series of climate variability as ENSO and NAO from data fields.

Week 2: Data exploration and analysis with Fortran using the time series created in class (or provided by the students). Calculating Percentiles. Robust and non-robust measures of range, central value and dispersion. Identification of outlayers. Decomposing the signal in periodic cycles, trends and anomalies. Estimation of the decorrelation times and effective number of degress of freedom. Calculation of power spectral densities.

Week 3: Data modelling using the time series created in class or (or provided by the students). Adjusting probability density functions, linear and non-linear regression models, and calculation of Empirical Orthogonal Functions (EOF).

Contact Person: Francisco José Machín Jiménez (


The highlighted icons, represent the fields of education (in compliance with ISCED Classification) engaged during this course/programme.


Venue: Institute of Marine Sciences
Barcelona, Spain

The Institute of Marine Sciences is located in Barcelona’s Villa Olimpica District between the Hospital del Mar and the Olympic Towers. 
Institut de Ciències del Mar
Passeig Marítim de la Barceloneta, 37-49



Full price of this course is 510€. A reduced registration fee of 425€ is applied for early registrations (20 days before the opening of the course).


Bring computer with a Fortran compiler installed. For computers using Linux, install the gfortan compiler. With computers using Windows, install cygwin (a linux-like environment), which allows installing the gfortran compiler.

Application Procedure:

Use the ADD TO CARD button on the course's website to book a place and make your payment.


Students attending to at least 80% of the classes will receive a certificate confirming their participation in the course, signed by the Barcelona Ocean responsible person and by the Lecturer of the course.


Academic level: Master, PhD, Lifelong Learning
Occupations (not validated):
Spotted a mistake in this page? Click here to request a change.