AER-RC / LBLRTM

Line-By-Line Radiative Transfer Model by Atmospheric and Environmental Research
Other
86 stars 28 forks source link

multiple profiles #25

Closed FanliLiu closed 2 years ago

FanliLiu commented 2 years ago

Hi. Is it possible to write multiple profiles in one TAPE5? And can it output multiple results (like radiances or optical depths) in one file (like TAPE27 or ODdeflt*)? I tried to copy the content in TAPE5 twice and then run LBLRTM, but it didn't output twice.

pernak18 commented 2 years ago

@FanliLiu you'll need a separate run for each profile. typically, i have a separate directory for each profile, then stage the inputs i need in those working directories with symbolic links to the TAPE3, TAPE5, xs, FSCDXS, EMISSIVITY, REFLECTIVITY, etc. as needed. one feature of LBL is that it assumes naming conventions for files that might change with different profiles (TAPE3 and TAPE5 are two examples), so if you run for two profiles in the same directory, your inputs and outputs will get overwritten.

if you'd like an example, i've written a driver and associated module that runs LBL for a few profiles in series. i can dig up some parallelized examples too, if that would help.

FanliLiu commented 2 years ago

@pernak18 Thank you. I will try.