Skip to content

Commit

Permalink
Update the AATM functions
Browse files Browse the repository at this point in the history
  • Loading branch information
algebrato committed Feb 26, 2021
1 parent d99df52 commit 5cf7ba8
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions src/libcal/src/AATM_fun.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -112,11 +112,7 @@ double cal::atm_get_absorption_coefficient(double altitude,
atm::SkyStatus ss = get_sky_status(altitude, temperature, pressure, freq);
ss.setUserWH2O(pwv, "mm");
// double opacity = ss.getWetOpacity().get();
<<<<<<< HEAD
double opacity = ss.getTotalOpacity().get(); // ???
=======
double opacity = ss.getTotalOpacity().get();
>>>>>>> opacity_tot

return 1 - exp(-opacity);
}
Expand All @@ -134,11 +130,8 @@ int cal::atm_get_absorption_coefficient_vec(double altitude,
ss.setUserWH2O(pwv, "mm");
for (size_t i = 0; i < nfreq; ++i) {
// double opacity = ss.getWetOpacity(i).get();
<<<<<<< HEAD
double opacity = ss.getTotalOpacity(i).get(); // ???
=======
double opacity = ss.getTotalOpacity(i).get();
>>>>>>> opacity_tot

absorption[i] = 1 - exp(-opacity);
}

Expand Down

0 comments on commit 5cf7ba8

Please sign in to comment.