jlandmann / crampon Goto Github PK
View Code? Open in Web Editor NEWCryospheric Monitoring and Prediction Online
License: Other
Cryospheric Monitoring and Prediction Online
License: Other
We haven't yet determined a license for the project!
To scale shortwave radiation in terrain with the helpt of potential radiation, we currently use Meteosat total shortwave incoming radiation, assuming a fixed proportion of 20% diffuse radiation. This ensure that radiation does not become zero, but is a very poor solution. We should go ehead and try to use the Meteosat diffuse radiation for the downscaling as well.
Up to now, the syncing function just compares to file lists. I could not use rsync itself, as it is not ensured that both machines are unix-like.
Definitely, this should be replaced sooner or later, at least by an algorithm that uses checksums.
Hints are here:
https://blog.liw.fi/posts/rsync-in-python/
https://stackoverflow.com/questions/21550106/paramiko-recursive-directory-copy-python
These two models are potential candidates for the ensemble as well:
or better: delete
Poetry is much faster than conda....
Up to now, OGGM refers to the grid cell which is closest to the RGI Centroid and uses this as reference for meteo input calculation (see here).
As our data have a 0.02° resolution (~2km), it might be worth thinking about considering all cells that intersect/ the glacier geometry, but e.g. a minimum 5x5 window around the centroid.
Instead of saving snow/firn in layers as they precipitate, they should be restructured e.g. one per year by merging the lowermost layers. This would allow e.g. an exponential decrease in minimum layer SWE with depth.
This would save a lot of storage.
Some time arrays in the SnowFirnCover class mix dt.datetime and np.nan.
I think using np.datetime64 and np.naT might be a cleaner solution, although np.datetim64 seems to be a slower => this needs testing!
The image size in the README is horrible.
However, changing the parameters in the RST file doesn't seem to help, because (by a bug), GitHub doesn't evaluate the parameters properly ( see github/markup#295).
Sooner or later this should be fixed by introducing smaller images.
The Cirrus connection needs a VPN connection into the WSL network which has to be activated externally.
There should be some piece of code which is able to check/open up a VPN connection with credentials.
Hints are here:
http://www.cisco.com/c/en/us/td/docs/security/vpn_client/anyconnect/anyconnect30/administration/guide/anyconnectadmin30/ac15userguidelines.html (but restricted to Cisco :/)
To run CRAMPON operationally on the server, we currently need VPN access to fetch all the LFI DEMs from speedy-11-12-fs.wsl.ch (speeds seems to be closed within the WSL domain).
ISG doesn't allow our servers to be within a VPN, so we need to think of a different solution.
Trying to access speedy without being in VPN leads to an ugly console crash without proper error message that @lgeibel has experienced.
Not many people care about Python 2.7 anymore
The WMO-SPICE project offers a lot of output to correct solid precipitation measurements. At least some of them should be implemented - maybe in a community effort together with MeteoSwiss and the SLF OSHD.
Now, in the operational module, we just check if the date of yesterday is available in the climate file.
It would be way better to check if all variables, i.e. temperature, precipitation and soon radiation are there => if one is not present, the retry decorator should catch this case.
If radiation is not there, one could start the radiation-independent mass balance calculations. However, this might be a bit advanced for the moment....
Unlike the temperature gradient, which is straightforward to calculate from the meto grids input, the precipitation gradient needs a more careful treatment.
At the moment we use the grid as well to determine the gradient, however especially with the problem of spatial variability in precipitation messing up the gradient calculation.
We should think of a better solution, for example including only cells that intersect with the glacier outlines or that fall into the glacier basin.
For the glaciers where we have MB measurements, the preciptation gradient could be calibrated on extrapolated snow pit measurements.
There is a nice curve describing the snow-rain phase transition as a function of temperature in the paper by Jan Magnusson:
https://agupubs.onlinelibrary.wiley.com/doi/full/10.1002/2016WR019092
We should start testing using an environment that is based on at least Python 3.8
Start off here:
pydata/xarray#501
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.