Commit Graph

44 Commits

Author SHA1 Message Date
anothersimulacrum c14339329e gitignore platform specific cython-generated files
Prevent platform specific cython files from being tracked in repo in the
future by adding them to a gitignore.
The rules should be strict enough to avoid anything that shouldn't be
blocked being blocked, but this also means that if more statically
compiled files are added in the future, they may need to be added to the
rules.
2020-09-18 09:18:43 -07:00
anothersimulacrum d3de7b14c9 Remove dead library files
The content of these files were moved to the .pyx files of the same
name, so they could be statically compiled by cython for improved
performance.
2020-09-18 09:10:15 -07:00
anothersimulacrum f265687986 Remove platform specific cython generated files
These files are platform specific, and generated each time you build the
libraries for the program.
This means that they aren't useful to track changes to and keep in repo,
because the changes will be made on each platform and be overwritten by
changes made on other platforms.
2020-09-18 08:48:48 -07:00
Simon Clark 663573f911 Added adiabatic motion to convection
- Converted temperature to potential temperature for thermal advection
- Added optional argument for vertical smoothing in 3D FFT function
- Small changes to plotting
2020-09-16 20:57:03 +01:00
Simon Clark a3ebf0605c Merge branch 'master' of https://github.com/Planet-Factory/claude 2020-09-09 21:02:37 +01:00
Simon Clark a124787a05 Smoothing added
Added FFT function to smooth velocity and temperature fields.
Also minor graphical improvements.
Added surface friction
Clamped velocities over pole
2020-09-09 21:00:57 +01:00
Simon Clark c5c6673182
Merge pull request #6 from TechWizzart/master
Updated the manual to include the stream from 19-08-2020
2020-09-07 15:06:52 +01:00
Simon Clark d6ebebfbb8
Merge pull request #7 from arenmarsden/master
Update .gitignore file and cleanup repository
2020-09-07 15:06:32 +01:00
Aren Marsden 00f75266a4
Remove build files which came in in merge
Signed-off-by: Aren Marsden <aren.marsden6@gmail.com>
2020-09-04 19:25:14 +01:00
Aren Marsden c310ec9932
Merge
Signed-off-by: Aren Marsden <aren.marsden6@gmail.com>
2020-09-04 19:24:13 +01:00
Simon Clark 0cc169b000 Post stream fix
Minor plotting addition and improved efficiency of vertical derivative
2020-09-02 21:47:19 +01:00
Aren Marsden 3c7f758233
Remove pycache
Signed-off-by: Aren Marsden <aren.marsden6@gmail.com>
2020-09-02 21:40:45 +01:00
Aren Marsden 151188c360
Cleanup repository
Signed-off-by: Aren Marsden <aren.marsden6@gmail.com>
2020-09-02 21:35:18 +01:00
Aren Marsden a6e8bc7c66
Update .gitignore
Signed-off-by: Aren Marsden <aren.marsden6@gmail.com>
2020-09-02 21:34:00 +01:00
Simon Clark b8a7f94e2c Cythonised all the things!
Used cython to improve speed by factor of 10, fixed bug in advection, decamped functions to claude libraries
2020-09-02 21:26:31 +01:00
TechWizzart 37374321fe
Added the latest stream of 26-08-2020, where we got a working model! Hooray! 2020-08-27 19:57:27 +02:00
Simon Clark e33d51519e Merge branch 'master' of https://github.com/Planet-Factory/claude 2020-08-27 09:26:03 +01:00
Simon Clark 6135e0b849 Big update 26/8/20
Major fixes:
- Tweaked radiation scheme to fix representation of equations
- Added vertical motion assuming perturbation to hydrostatic equilibriu
- Implemented seasons / axial tilt
- Added stratospheric heating

Minor changes:
- Removed old unused code
- Added frictional forces throughout atmosphere
- Tweaked optical depth parameterisation
- Tweaked text output
- Removed vertical advection (for now)
2020-08-27 09:24:39 +01:00
TechWizzart aa01ea5b4c
Updated the manual to include the stream from 19-08-2020 2020-08-21 12:39:38 +02:00
Simon Clark 3418f5679e
Merge pull request #2 from arenmarsden/master
Add in depth README
2020-08-20 09:04:45 +01:00
Simon Clark 033d02b743
Merge pull request #3 from TechWizzart/master
Added the CLAuDE NOM to the repo
2020-08-20 09:04:20 +01:00
Simon Clark 23b65ae1a6 Fixed radiation scheme
- Fixed lowest level of radiation scheme
- Added plot functionality
- Removed vertical motion
- Added w to save file
2020-08-19 20:54:05 +01:00
TechWizzart fa3e8bbd3a
Finally removed all capitals in folders for OS friendliness, shoo capital directories 2020-08-19 16:28:44 +02:00
TechWizzart 8a08523e13
Added the Grey Radiation Scheme 2020-08-19 16:20:26 +02:00
TechWizzart 0a48c66515
Fixed gitignore to properly ignore the local compile files 2020-08-19 09:36:23 +02:00
TechWizzart a727bd69ed
Added a gitignore to ignore local compile files 2020-08-19 09:34:18 +02:00
Simon Clark 3fd7ce1892 Added grey radiation scheme
Implemented 3D grey radiation and variable optical depth with latitude.
2020-08-12 20:53:41 +01:00
Simon Clark 243d1785c7 Merge branch 'master' of https://github.com/Planet-Factory/claude 2020-08-10 13:55:56 +01:00
Simon Clark 6e197187fc Generalising height
Allowing for variable maximum height of the model, with initial conditions of density and temperature read from US standard atmosphere.
2020-08-10 13:55:54 +01:00
TechWizzart 07a01f728f
Updated the name of the folder for more user friendliness 2020-07-21 22:10:18 +02:00
TechWizzart 147d42d418
Updated the manual to incorporate the latest stream and putting the documentation source files on the repo 2020-07-16 18:40:06 +02:00
Simon Clark 2a362a1483
Merge pull request #4 from Planet-Factory/feature/add-license
Add license
2020-07-13 10:14:56 +01:00
Peter Reid aa02d0d6c4
Add license 2020-07-12 00:36:49 +01:00
Sam Baggen 249c6e1d4e
Added the CLAuDE NOM to the repo 2020-07-09 09:03:29 +02:00
Simon Clark c29c0aa741 Added plotting functionality
Added 2D plots of temperature and velocity for each level and a zonal mean representation
2020-07-08 20:59:08 +01:00
Simon Clark 4a5aa8abbf 3D atmosphere!
Added multiple layers to the atmosphere. These have adjacent radiation exchange but not cross-level exchange, and no vertical momentum calculated. Also tweaked the absorption in different levels of the atmosphere. Differential sections of the code have been generalised for 3D fields
2020-07-01 21:18:16 +01:00
Simon Clark 72247c418d Update toy_model.py
Stream update from 24/6/2020
- Fixed advection
- Fixed coriolis
- Added spinup
- Add time functionality
2020-06-24 21:08:16 +01:00
Aren Marsden 6fdc43e7cc
Update README 2020-06-24 12:35:59 +01:00
Aren Marsden cc4355b5c0
Add README.md 2020-06-24 12:28:29 +01:00
Simon Clark dd1cd70ee6 Update toy_model.py
Increased spin-up time, decreased resolution
2020-06-17 18:08:38 +01:00
Simon Clark d6f83e4558 Update toy_model.py
Increased heat capacity of all components, resulting in more realistic physics (i.e. no immediate blowup). Also implemented toggle for velocity calculations (now largely redundant). Various other fiddles.
2020-06-17 17:17:11 +01:00
Simon Clark df23337825 Update toy_model.py
Corrected geometric mistake with Coriolis, tidied up optional oceans, changed the order of operation such that all thermal processes take place before updating the pressure
2020-06-15 22:10:59 +01:00
Simon Clark bb6c00a2e5 Update toy_model.py
Fixed geometry of radiative forcing, testing problems with derivatives
2020-06-15 18:24:09 +01:00
Simon Clark 59393eecbb
Add files via upload
First version of toy atmospheric model, currently without working advection!
2020-06-15 16:30:56 +01:00