Comments (10)
Installed cmlib-1.1.3
and we're back in business!
Thanks for the prompt assistance. Argos is my favourite NetCDF viewer, everything you need and nothing you don't.
from argos.
Which Argos and library versions do you have? Can you please copy/paste the versions from the about box?
Can you somehow give me access to this file?
Looking at the error, it seem to me that this error is related to reading the color maps. What happens if you select a different color map by clicking on the color map selection dialog. See red circle in screen shot.
from argos.
I'm unable to choose a different colourmap as the error is fatal (unless I can manually put this in the setting configuration somehow?). cmlib
is also yours right!?
from argos.
With QT_API=pyside2 python3.9 -m argos filename.nc
I'm able to keep the GUI open, although the Exception trace is still the same on all the color map fields.
from argos.
Yes cmlib
is also mine.
So does this error occur only for that specific file? Or does it occur with any file?
from argos.
What happens if you run the cmlib_demo
command? See here
from argos.
I get the same error, so that ties it down to something in cmlib. Are you happy to continue discussing here?
$ ~/.local/bin/cmlib_demo
Traceback (most recent call last):
File "/home/foo/.local/bin/cmlib_demo", line 8, in <module>
sys.exit(main())
File "/home/foo/.local/lib/python3.9/site-packages/cmlib/demo.py", line 293, in main
win = DemoWindow(cmLibModel=cmLibModel)
File "/home/foo/.local/lib/python3.9/site-packages/cmlib/demo.py", line 226, in __init__
self.updateSelectedLabel(self.selectionWidget.getCurrentColorMap())
File "/home/foo/.local/lib/python3.9/site-packages/cmlib/demo.py", line 248, in updateSelectedLabel
self.updateImageLabel(colorMap)
File "/home/foo/.local/lib/python3.9/site-packages/cmlib/demo.py", line 255, in updateImageLabel
pixMap = colorizeImageArray(self._imageArray, colorMap=colorMap,
File "/home/foo/.local/lib/python3.9/site-packages/cmlib/demo.py", line 134, in colorizeImageArray
rgba_arr = colorMap.rgba_uint8_array
File "/home/foo/.local/lib/python3.9/site-packages/cmlib/cmap.py", line 357, in rgba_uint8_array
self.load_rgba_uint8_array()
File "/home/foo/.local/lib/python3.9/site-packages/cmlib/cmap.py", line 366, in load_rgba_uint8_array
rgb_ints = self._read_rgb_uint8_file(file_name)
File "/home/foo/.local/lib/python3.9/site-packages/cmlib/cmap.py", line 328, in _read_rgb_uint8_file
rgb_floats = load_rgb_floats(file_name)
File "/home/foo/.local/lib/python3.9/site-packages/cmlib/misc.py", line 87, in load_rgb_floats
array = np.loadtxt(source_file, delimiter=delimiter, dtype=dtype, **kwargs)
File "/home/foo/.local/lib/python3.9/site-packages/numpy/lib/npyio.py", line 1308, in loadtxt
arr = _read(fname, dtype=dtype, comment=comment, delimiter=delimiter,
File "/home/foo/.local/lib/python3.9/site-packages/numpy/lib/npyio.py", line 979, in _read
arr = _load_from_filelike(
TypeError: Text reading control character must be a single unicode character or None; but got: ', '
from argos.
Yes we can continue discussing here. I can try to reproduce it later this evening.
Do you use Linux or MacOS?
from argos.
This is Linux under WSL, rendering done by Windows 11 Wayland backend.
uname -a
Linux Desktop 5.10.102.1-microsoft-standard-WSL2 #1 SMP Wed Mar 2 00:30:59 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=22.04
DISTRIB_CODENAME=jammy
DISTRIB_DESCRIPTION="Ubuntu 22.04 LTS"
from argos.
Accidentally pressed the close button a bit too early, but I have fixed the issue. I could reproduce it when I upgraded Numpy to version 1.23.1. It was an easy fix.
I have made a new release of cmlib
: version 1.1.3. If you update to that version it should work. Please let me know if it doesn't.
from argos.
Related Issues (17)
- argos does not show output when failing to start HOT 4
- Plot multiple variables at once HOT 2
- Can't read HDF5 created with pandas. HOT 2
- Failed to disconnect signal when closing main window with PySide2 HOT 1
- Failed to disconnect signal when editing config item with PySide2 HOT 1
- Bug: levels argument is required for float input types HOT 2
- Image plot crosshair fails on NetCDF scalars set to fill value. HOT 1
- levels argument is required for float input types
- Export dataset HOT 1
- "Line Plot" unusable because "QtCore" is not defined HOT 5
- Plot from different datasets
- problems examining my HDF-5 file in argos HOT 3
- Problems installing on Windows with Conda HOT 15
- Add environment.yml HOT 3
- More zoom/pan modes? HOT 2
- Auto-select most appropriate axes for plots HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from argos.