Coder Social home page Coder Social logo

nichollsh / socrates Goto Github PK

View Code? Open in Web Editor NEW
0.0 0.0 1.0 63.28 MB

Redistributed on GitHub from the original TRAC repository, with modifications and additions.

Home Page: https://code.metoffice.gov.uk/trac/socrates

License: BSD 3-Clause "New" or "Revised" License

Shell 1.03% Fortran 90.78% OpenEdge ABL 0.09% q 1.78% Terra 1.78% HiveQL 0.11% Raku 0.11% IDL 0.54% Makefile 0.08% Julia 0.72% Perl 0.04% Python 2.83% C 0.12%

socrates's People

Contributors

lsoucasse avatar nichollsh avatar

Watchers

 avatar

Forkers

formingworlds

socrates's Issues

Add water ice scattering data to spectral files

SOCRATES contains data for including the scattering properties of water ice clouds. These could be added to the spectral files in the spectraltools pipeline.

See script below...

#!/bin/bash
# Ryan Boukrouche

name="miniSuran"

socrates_data="/proj/bolinc/users/x_ryabo/SOCRATES/data"
path_sp_sw="/proj/bolinc/users/x_ryabo/spectral_files/Suran/${name}_sw.sf"
path_sp_lw="/proj/bolinc/users/x_ryabo/spectral_files/Suran/${name}_lw.sf"

ver="2022"

rm -f fit_thick_ice_casim_${ver}_${name}_sw.sf mon_thick_ice_casim_${ver}_${name}_sw.sf
Cscatter_average \
-s $path_sp_sw -P 1 -t -S ${socrates_data}/solar/trappist1 \
-f 20 fit_thick_ice_casim_${ver}_${name}_sw.sf \
mon_thick_ice_casim_${ver}_${name}_sw.sf 917 \
${socrates_data}/cloud/scatter_ice_casim_${ver}

echo "Cscatter_average on $path_sp_sw completed."

rm -f fit_thick_ice_casim_${ver}_${name}_lw.sf mon_thick_ice_casim_${ver}_${name}_lw.sf
Cscatter_average -s $path_sp_lw -P 1 -t -p 250 \
-f 20 fit_thick_ice_casim_${ver}_${name}_lw.sf \
mon_thick_ice_casim_${ver}_${name}_lw.sf 917 \
${socrates_data}/cloud/scatter_ice_casim_${ver}

echo "Cscatter_average on $path_sp_lw completed."

prep_spec <<EOF 
${name}_sw.sf
a
12
13
fit_thick_ice_casim_${ver}_${name}_sw.sf
-1
EOF

echo "prep_spec on $path_sp_sw completed."

prep_spec <<EOF 
${name}_lw.sf
a
12
13
fit_thick_ice_casim_${ver}_${name}_lw.sf
-1
EOF

echo "prep_spec on $path_sp_lw completed."

Which will need to be translated into Python.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.