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

Change in the MAPSCALE_AGE from integer to double #47

Open
kamwal opened this issue Jan 6, 2023 · 0 comments
Open

Change in the MAPSCALE_AGE from integer to double #47

kamwal opened this issue Jan 6, 2023 · 0 comments
Labels
bug Something isn't working

Comments

@kamwal
Copy link
Collaborator

kamwal commented Jan 6, 2023

In the pcm_owc_config.ini file the MAPSCALE_AGE variable can be only set as the integer value.
It would be good to change it to double.

applying OWC

updating salinity mapper
Traceback (most recent call last):
File "/users/argo/dm_qc/SO_assesment/DMQC-PCM-Python/so_dmqc_master.py", line 244, in
obj.run()
File "/users/argo/dm_qc/SO_assesment/DMQC-PCM-Python/so_dmqc_master.py", line 173, in run
calibration.update_salinity_mapping(str(float_WMO), self.OWC_CONFIG,
File "/users/argo/dm_qc/SO_assesment/DMQC-PCM-Python/argodmqc_owc/pyowc/calibration.py", line 83, in update_salinity_mapping
map_age_large = int(config['MAPSCALE_AGE_LARGE'])
ValueError: invalid literal for int() with base 10: '0.69'

@kamwal kamwal added the enhancement New feature or request label Jan 6, 2023
@kamwal kamwal added bug Something isn't working and removed enhancement New feature or request labels Jun 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant