Skip to content

Conversation

@josuemtzmo
Copy link

Hello,

This is a really simple fix in the buoyancy flux computation. The issue was when using the flag '-s', the code will crash saying that no variable could be found. The issue was that in the code, the salinity variable was searched in the temperature file, despite the -s option that allows to input a different file source. The fix, is simply to use the other already defined variable in case the option -s is used. Within the code it is already included the case in which the flag -s is not use, to re-defined as to be the same file as the temperature:

IF ( cf_sfil == 'none' ) cf_sfil=cf_tfil

@josuemtzmo
Copy link
Author

josuemtzmo commented Feb 20, 2023

I haven't check if other computations have a similar issue, but it may be worth investigating.

@molines
Copy link
Member

molines commented Feb 20, 2023 via email

@josuemtzmo
Copy link
Author

I've found another issue with the buoyancy computation. For more info, refer to #55

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants