Comments (4)
Hi @CassandraAuri,
I am able to reproduce this error. I also confirmed that this error affects the themis()
imager instance.
As mentioned in this recent issue, it is a common bug with the Windows multiprocessing
module. The permanent solution necessitates the removal of the multiprocessing module from themis-imager-readfile
and rego-imager-readfile
which @dchaddock mentioned is unlikely. This leaves asilib
with two choices:
-
Refactor a copy of the
themis-imager-readfile
andrego-imager-readfile
source code inasilib
. This is not difficult, but thenasilib
's loaders will be unsupported by the Calgary developers. Given that the THEMIS and REGO data format is stable, this should be OK. -
Instruct Windows users to use asilib inside of a
if __name__ == '__main__':
block as I show in the example below. This is an easy fix if you're writing scripts usingasilib
, but won't work if you put yourasilib
analysis code into our own module and import it.
The example below, slightly modified, works on my Windows 10 machine.
from datetime import datetime, timedelta
import asilib
from asilib.asi import rego
if __name__ == '__main__':
time_range = (datetime(2021, 3, 18, 8, 0),
datetime(2021, 3, 18, 8, 5))
asi = rego.rego('GILL', time_range=time_range)
# And run either one of these two commands
asi.animate_fisheye() # animate fisheye images
I'm leaning towards option 1, but I am open to ideas or suggestions.
from asilib.
So I talked to darren and name == 'main' will just have to be the solution since everything they have runs like that.
from asilib.
Hi all - I am going through Cassandra's code right now working on figuring out the best way to address the issue. Updates should be available in the next few days.
from asilib.
With the latest release of our readfile libraries this morning, this issue has been resolved. You can do the following do get up-to-date.
pip install --upgrade trex-imager-readfile themis-imager-readfile rego-imager-readfile
from asilib.
Related Issues (14)
- BUG: <Please write a comprehensive title after the 'BUG: ' prefix>
- DOC: REGO example needs to be updated
- BUG: Cannot uninstall opencv-python 4.6.0, RECORD file not found. Hint: The package was installed by conda. HOT 4
- BUG: error in time slicing in the get_points() function HOT 3
- BUG: Keogram not acceptating datetime.datetime objects HOT 1
- Is there a way to create videos after syncing multiple observatory images and plotting them on a map? HOT 4
- Implementing custom satellites+data in fisheye animations when working with custom satellite and data HOT 1
- Scatterplotting on axes after calling from animate_map_gen() HOT 1
- help HOT 1
- Relax dependency requirements? HOT 3
- Acknowledgements break on cloud server HOT 3
- Bug or misunderstanding of Conjunction.lla_footprint() HOT 2
- Issue Importing asilib.asi 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 asilib.