AER-RC / LBLRTM

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

lnfl can't run #47

Closed zuqian closed 10 months ago

zuqian commented 1 year ago

I have added the flag " -std=legacy "into the makefile.common ,however, there are still messages :

Note: The following floating-point exceptions are signalling: IEEE_UNDERFLOW_FLAG IEEE_DENORMAL STOP LINFIL COMPLETE 49.98user 0.18system 0:50.32elapsed 99%CPU (0avgtext+0avgdata 11476maxresident)k

when I run the examples ./lbl_examples/TAPE3_files/run_lnfl.pl . The lnfl codes are downloaded from the git clone "git clone --recursive git@github.com:AER-RC/LNFL.git". And when I build the lnfl using make ,there are many warnings like :

Warning: Line truncated at (1) [-Wline-truncation] COMMON /IFIL/ IRD,IPR,IPU,NWDR,LRC,ILNGTH,INLTE,IER,IPUOUT LN18920 1

Or

Warning: Possible change of value in conversion from REAL(8) to INTEGER(4) at (1) [-Wconversion] ../src/lnfl.f:2476:18:

         STR = STRSV/(VNU*(1.0-EXP(-BETA0*VNU)))                      LN12400
              1

How could I deal with it? Thanks

zuqian commented 1 year ago

By the way , the OS is Centos 8(linux) and the gcc version is 8.4.1

pernak18 commented 1 year ago

@zuqian these are just warnings, not errors. STOP LINFIL COMPLETE means LNFL completed, so you should have a TAPE3 in your working directory. is that true?

@kcadyper am i missing anything?

zuqian commented 1 year ago

@zuqian these are just warnings, not errors. STOP LINFIL COMPLETE means LNFL completed, so you should have a TAPE3 in your working directory. is that true?

@kcadyper am i missing anything?

Thanks for your reply! Maybe you're right ,I found the TAPE3 files output in my directory . And I take the TAPE3 files into the LBLRTM , there're also warnings like:

Note: The following floating-point exceptions are signalling: IEEE_INVALID_FLAG IEEE_DIVIDE_BY_ZERO IEEE_UNDERFLOW_FLAG IEEE_DENORMAL
STOP  LBLRTM EXIT 

It seems the TAPE12 output files are equal to the example files(TAPE12_ex).But I'm not sure whether the 'STOP LBLRTM EXIT ' is normal end . And will the warnings result in the wrong answers in the more complicated situations?

zuqian commented 1 year ago

By the way , if I want to set my own atmospheric profile (like using the ERA5 reanalysis) , is there any program may help me transport it to the TAPE5 file in the package ? Or should I type the TAPE5 files in my hands ? It' hard to processing lots of profiles.

pernak18 commented 1 year ago

@zuqian these are just warnings, not errors. STOP LINFIL COMPLETE means LNFL completed, so you should have a TAPE3 in your working directory. is that true? @kcadyper am i missing anything?

Thanks for your reply! Maybe you're right ,I found the TAPE3 files output in my directory . And I take the TAPE3 files into the LBLRTM , there're also warnings like:

Note: The following floating-point exceptions are signalling: IEEE_INVALID_FLAG IEEE_DIVIDE_BY_ZERO IEEE_UNDERFLOW_FLAG IEEE_DENORMAL
STOP  LBLRTM EXIT 

It seems the TAPE12 output files are equal to the example files(TAPE12_ex).But I'm not sure whether the 'STOP LBLRTM EXIT ' is normal end . And will the warnings result in the wrong answers in the more complicated situations?

yes, everything you're seeing is typical. you have nothing to worry about with regard to accuracy

pernak18 commented 1 year ago

By the way , if I want to set my own atmospheric profile (like using the ERA5 reanalysis) , is there any program may help me transport it to the TAPE5 file in the package ? Or should I type the TAPE5 files in my hands ? It' hard to processing lots of profiles.

because of LBL's flexibility, inputs are highly customizable. consequently, there is no "one size fits all" software for making the TAPE5 inputs. to handle many profiles (e.g., for CMIP/RFMIP experiments), i've typically used the lblrtm_instructions.html, -- which you should open in your web browser -- and written my own scripts that are specific to the application.

kcadyper commented 1 year ago

Hi,

'STOP LBLRTM EXIT ' is the normal ending. The warnings can be ignored. When LBLRTM fails the problem is normally is an error in the inputs.

Karen

From: zuqian @.> Date: Saturday, November 18, 2023 at 4:21 AM To: AER-RC/LBLRTM @.> Cc: Cady-Pereira, Karen @.>, Mention @.> Subject: Re: [AER-RC/LBLRTM] lnfl can't run (Issue #47) @zuqian these are just warnings, not errors. STOP LINFIL COMPLETE means LNFL completed, so you should have a TAPE3 in your working directory. is that true? @kcadyper am i missing anything? Thanks for your reply! Maybe you're right ,I found

@zuqianhttps://urldefense.com/v3/__https:/github.com/zuqian__;!!CAFLEWIB!DNNaLX9H7EmbP9W1wA4iBQQqYPtqnmqK9WaEeoJuOCMKiT1tp77iuxqM9WnP-z4kNDW_fZkuYCmV3S3Y_rYQSQ$ these are just warnings, not errors. STOP LINFIL COMPLETE means LNFL completed, so you should have a TAPE3 in your working directory. is that true?

@kcadyperhttps://urldefense.com/v3/__https:/github.com/kcadyper__;!!CAFLEWIB!DNNaLX9H7EmbP9W1wA4iBQQqYPtqnmqK9WaEeoJuOCMKiT1tp77iuxqM9WnP-z4kNDW_fZkuYCmV3S1SOLg8Og$ am i missing anything?

Thanks for your reply! Maybe you're right ,I found the TAPE3 files output in my directory . And I take the TAPE3 files into the LBLRTM , there're also warnings like:

Note: The following floating-point exceptions are signalling: IEEE_INVALID_FLAG IEEE_DIVIDE_BY_ZERO IEEE_UNDERFLOW_FLAG IEEE_DENORMAL

STOP LBLRTM EXIT

It seems the TAPE12 output files are equal to the example files(TAPE12_ex).But I'm not sure whether the 'STOP LBLRTM EXIT ' is normal end . And will the warnings result in the wrong answers in the more complicated situations?

— Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/AER-RC/LBLRTM/issues/47*issuecomment-1817454579__;Iw!!CAFLEWIB!DNNaLX9H7EmbP9W1wA4iBQQqYPtqnmqK9WaEeoJuOCMKiT1tp77iuxqM9WnP-z4kNDW_fZkuYCmV3S26evxrdA$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/AJ64JHXOGAAAM5J7PAD5KXLYFB4X5AVCNFSM6AAAAAA7PWGDO6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJXGQ2TINJXHE__;!!CAFLEWIB!DNNaLX9H7EmbP9W1wA4iBQQqYPtqnmqK9WaEeoJuOCMKiT1tp77iuxqM9WnP-z4kNDW_fZkuYCmV3S23WKhkrg$. You are receiving this because you were mentioned.Message ID: @.***>


This email is intended solely for the recipient. It may contain privileged, proprietary or confidential information or material. If you are not the intended recipient, please delete this email and any attachments and notify the sender of the error.

kcadyper commented 1 year ago

Hi,

Yes, building TAPE5s by hand is time consuming. We normally write a Perl or Python script to build multiple TAPE5s. Basically we create a template with the fixed parameters, and have the script fill in the variable parameters. However, there are many different ways of setting up LBLRTM, so it is impossible to write a script that handles all conditions. Therefore you will have to write your own.

If you think it would help, I could send you a sample Perl script.

Karen

From: zuqian @.> Date: Saturday, November 18, 2023 at 4:27 AM To: AER-RC/LBLRTM @.> Cc: Cady-Pereira, Karen @.>, Mention @.> Subject: Re: [AER-RC/LBLRTM] lnfl can't run (Issue #47) By the way , if I want to set my own atmospheric profile (like using the ERA5 reanalysis) , is there any program may help me transport it to the TAPE5 file in the package ? Or should I type the TAPE5 files in my hands ? It' hard to processing

By the way , if I want to set my own atmospheric profile (like using the ERA5 reanalysis) , is there any program may help me transport it to the TAPE5 file in the package ? Or should I type the TAPE5 files in my hands ? It' hard to processing lots of profiles.

— Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/AER-RC/LBLRTM/issues/47*issuecomment-1817455774__;Iw!!CAFLEWIB!CcIGutwqJRAiGqOtkt-tS_5OxiDvt3mbXijxvyfHwiPhJcfL3diNAmGwEHWu2ihpfcBcj2kjw2FD4nqnmjcgZg$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/AJ64JHTVXG57LMNI2ZCIKUDYFB5RHAVCNFSM6AAAAAA7PWGDO6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJXGQ2TKNZXGQ__;!!CAFLEWIB!CcIGutwqJRAiGqOtkt-tS_5OxiDvt3mbXijxvyfHwiPhJcfL3diNAmGwEHWu2ihpfcBcj2kjw2FD4npZjDrjwA$. You are receiving this because you were mentioned.Message ID: @.***>


This email is intended solely for the recipient. It may contain privileged, proprietary or confidential information or material. If you are not the intended recipient, please delete this email and any attachments and notify the sender of the error.

zuqian commented 12 months ago

Hi, Yes, building TAPE5s by hand is time consuming. We normally write a Perl or Python script to build multiple TAPE5s. Basically we create a template with the fixed parameters, and have the script fill in the variable parameters. However, there are many different ways of setting up LBLRTM, so it is impossible to write a script that handles all conditions. Therefore you will have to write your own. If you think it would help, I could send you a sample Perl script. Karen From: zuqian @.> Date: Saturday, November 18, 2023 at 4:27 AM To: AER-RC/LBLRTM @.> Cc: Cady-Pereira, Karen @.>, Mention @.> Subject: Re: [AER-RC/LBLRTM] lnfl can't run (Issue #47) By the way , if I want to set my own atmospheric profile (like using the ERA5 reanalysis) , is there any program may help me transport it to the TAPE5 file in the package ? Or should I type the TAPE5 files in my hands ? It' hard to processing By the way , if I want to set my own atmospheric profile (like using the ERA5 reanalysis) , is there any program may help me transport it to the TAPE5 file in the package ? Or should I type the TAPE5 files in my hands ? It' hard to processing lots of profiles. — Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/AER-RC/LBLRTM/issues/47*issuecomment-1817455774__;Iw!!CAFLEWIB!CcIGutwqJRAiGqOtkt-tS_5OxiDvt3mbXijxvyfHwiPhJcfL3diNAmGwEHWu2ihpfcBcj2kjw2FD4nqnmjcgZg$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/AJ64JHTVXG57LMNI2ZCIKUDYFB5RHAVCNFSM6AAAAAA7PWGDO6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMJXGQ2TKNZXGQ__;!!CAFLEWIB!CcIGutwqJRAiGqOtkt-tS_5OxiDvt3mbXijxvyfHwiPhJcfL3diNAmGwEHWu2ihpfcBcj2kjw2FD4npZjDrjwA$. You are receiving this because you were mentioned.Message ID: @.***> ____ This email is intended solely for the recipient. It may contain privileged, proprietary or confidential information or material. If you are not the intended recipient, please delete this email and any attachments and notify the sender of the error.

I'm appreciated for your kind reply .I would rather use python scripts to built up the LBLRTM TAPE5 .Thanks a lot!

zuqian commented 12 months ago

By the way , if I want to set my own atmospheric profile (like using the ERA5 reanalysis) , is there any program may help me transport it to the TAPE5 file in the package ? Or should I type the TAPE5 files in my hands ? It' hard to processing lots of profiles.

because of LBL's flexibility, inputs are highly customizable. consequently, there is no "one size fits all" software for making the TAPE5 inputs. to handle many profiles (e.g., for CMIP/RFMIP experiments), i've typically used the lblrtm_instructions.html, -- which you should open in your web browser -- and written my own scripts that are specific to the application.

I'm appreciated for your kind reply .I'm reading the lblrtm_instructions.html .Thanks for your excellent models.

pernak18 commented 10 months ago

@zuqian if you feel this issue -- i.e., LNFL not running -- please close it