_Migrated from nichollsh/SOCRATES#4 (https://github.com/nichollsh/SOCRATES/issues/4)_\n\nOriginal author: @nichollsh\nOriginal created: 2024-06-17T12:21:22Z\nOriginal state: open\n\n---\n\nSOCRATES 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.
_Migrated from nichollsh/SOCRATES#4 (https://github.com/nichollsh/SOCRATES/issues/4)_\n\nOriginal author: @nichollsh\nOriginal created: 2024-06-17T12:21:22Z\nOriginal state: open\n\n---\n\nSOCRATES contains data for including the scattering properties of water ice clouds. These could be added to the spectral files in the
spectraltoolspipeline.See script below...
Which will need to be translated into Python.