AtChem / AtChem2

Atmospheric chemistry box-model for the MCM
MIT License
59 stars 23 forks source link

Why it says not constrained although I constrained J4 #503

Closed tanzinaakther closed 1 year ago

tanzinaakther commented 1 year ago

Hi, I have constrained photolysis rate but when I run the model, I see the attached note. that means, photolysis rate is not constrained. I checked everything. J1 & J4 is there. Still why i get this.

3

? any idea?

tanzinaakther commented 1 year ago
1
tanzinaakther commented 1 year ago
2
rs028 commented 1 year ago

Does the executable point to the right directory?

tanzinaakther commented 1 year ago

Yes

tanzinaakther commented 1 year ago

Please see attached. I am getting the output but model is not getting J4

1
rs028 commented 1 year ago

Is the model constrained to J1?

tanzinaakther commented 1 year ago

Yes. J1 & J4 is constrained

rs028 commented 1 year ago

You have J1 and J4 in the photolysisConstrained.config file and the related files in constraints/photolysis/. Is the model reading and constraining J1? or neither?

tanzinaakther commented 1 year ago

Yes, I have. I attached screenshot in the previous comments that I have these in proper directory. Model is not constraining J1 & J4. It says no photolysis constraints file exist although it is there.

rs028 commented 1 year ago

do the J1 and J4 files have an extension? sometimes a .txt is added if you create them in windows but you can't see if the file manager hides the extension

tanzinaakther commented 1 year ago

Ok , Right now I can't check. So, I will get back to you after checking

rs028 commented 1 year ago

Okay, please close the issue if the problem is solved.

tanzinaakther commented 1 year ago

I checked. There is no extension.

rs028 commented 1 year ago

I can't see a reason why this may happen. It works fine on my system. Have you tried to do constrain photolysis rates before? If so, did it work?

tanzinaakther commented 1 year ago

I faced this issue but one of my friends did in his model, it was ok for him. Can I give you my J1 & J4 so that you can have a look?

rs028 commented 1 year ago

Sure sent it to me by email : rob.sommariva @ gmail.com

tanzinaakther commented 1 year ago

Hi, I copied my files to my friend's one and then ran. It worked now. But I don't understand what the problem in my folders was.