Programming languages in atmospheric physics

Click For Summary
SUMMARY

In atmospheric physics, the primary programming languages utilized are C/C++, Python, Java, and MATLAB, with a notable emphasis on Python due to its versatility and the availability of the Anaconda distribution. Data storage often employs HDF and NetCDF file formats, which have API libraries compatible with these languages. Legacy modeling predominantly relies on Fortran, specifically the Fortran 77 and Fortran 90 standards. As computational modeling evolves, Julia is emerging as a potential alternative for performance-intensive tasks.

PREREQUISITES
  • Familiarity with C/C++ programming
  • Understanding of Python and its Anaconda distribution
  • Knowledge of HDF and NetCDF file formats
  • Basic understanding of Fortran programming, particularly Fortran 77 and Fortran 90
NEXT STEPS
  • Explore advanced Python libraries for atmospheric modeling
  • Learn about HDF and NetCDF data manipulation techniques
  • Investigate the use of MATLAB in computational modeling
  • Research Julia's capabilities for performance optimization in scientific computing
USEFUL FOR

Atmospheric physicists, computational modelers, and students interested in programming for atmospheric sciences will benefit from this discussion.

LittleMrsMonkey
Messages
49
Reaction score
13
I do know this is very vague and maybe a little bit dumb.
But are there languages that are ,generally,used much more than others in atmospheric physics?Excluding meteorology.
I put this thread in Academic Guidance because this question is translated to "What computer languages should I focus on if I'm interested in atm.physics"
 
Physics news on Phys.org
Since this involves computational modeling then I'd say it would be C/C++, Python and Java.

A lot of data is often stored in HDF and NetCDF file formats. These formats have API libraries for C/C++, Python and Java.

Some computational stuff would probably be done in MATLAB as well which could lead to Julia in the future for performance reasons.

Legacy modeling often uses Fortran so basically you're looking at a variety of languages.

If I had to choose one I'd choose Python and branch out from there like using the Anaconda distribution.

http://quant-econ.net/python_or_julia.html
 
Last edited by a moderator:
  • Like
Likes   Reactions: LittleMrsMonkey
LittleMrsMonkey said:
I do know this is very vague and maybe a little bit dumb.
But are there languages that are ,generally,used much more than others in atmospheric physics?Excluding meteorology.
I put this thread in Academic Guidance because this question is translated to "What computer languages should I focus on if I'm interested in atm.physics"
You should also be familiar with the Programming language Which Must Not Be Named (Fortran). There's still a lot of physics codes from various fields which are still programmed in this language, especially the Fortran 77 and Fortran 90 standards.
 
  • Like
Likes   Reactions: LittleMrsMonkey

Similar threads

  • · Replies 7 ·
Replies
7
Views
3K
  • · Replies 1 ·
Replies
1
Views
1K
  • · Replies 4 ·
Replies
4
Views
2K
  • · Replies 12 ·
Replies
12
Views
2K
  • · Replies 7 ·
Replies
7
Views
2K
  • · Replies 7 ·
Replies
7
Views
4K
Replies
4
Views
3K
  • · Replies 1 ·
Replies
1
Views
657
  • · Replies 16 ·
Replies
16
Views
4K
  • · Replies 3 ·
Replies
3
Views
4K