Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing value in cdfbottomsig #35

Open
fschwarzkopf opened this issue Sep 30, 2020 · 0 comments
Open

Missing value in cdfbottomsig #35

fschwarzkopf opened this issue Sep 30, 2020 · 0 comments

Comments

@fschwarzkopf
Copy link
Contributor

In cdfbottomsig, temperature and salinity fields are masked by using the "MissingValue" from the salinity file (can also be the temperature file if salinity is included there). In my input files, the "MissingValue" is set to 1e20 but does not apply to the salinity field itself - here, "dry" grid cells are masked with zero.

To overcome problems arising from the resulting unmasked fields I changed line 130 from
zsps = getspval(cf_sfil, cn_vosaline)
to
zsps = 0

I'm not sure, whether this only applies to the setting I'm working with or is a rather general behaviour. Therefore I submit this as an issue rather than a merge request.

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

No branches or pull requests

1 participant