Comments (3)
I'm not sure, but this could be a Windows issue? This path:
'Maps/CHANDRA/acisf04963N004_full_img2.fits'
uses /
's, while windows uses \
's for its path specification. This might be a bug in how directory_path
is generated.
from astroquery.
Thank you for the quick reply @keflavich
I should also add that, after the code runs and I receive the error, I can't go to the folder and delete the Chandra image file. It gives me an error saying the file is in use by another program. It's only after I either restart the notebook's kernel, or shut the notebook down, that I can delete the image file. (Sorry I didn't include that before)
from astroquery.
Update:
I can confirm that it is 'a windows thing' but I don't believe it has to do with the path.
To check and see if the path's slashes were causing the problem, I replaced them with double backslash, and received the same error.
"OSError: [Errno 22] Invalid argument: 'Maps\CHANDRA\acisf04963N004_full_img2.fits'"
With the error remaining, and since everything worked fine with XMM images, it seems like the path is working fine.
Then I went into an Ubuntu VM, and everything worked just fine. I don't know if there could be something specific about the Chandra image structure, or the method used to obtain/store them?
from astroquery.
Related Issues (20)
- Splatalogue.query_lines() seems to be broken? HOT 2
- Slow Simbad.query_objects & IRSA.query_region searches HOT 6
- Use plot directive to generate figures
- modulate verbosity of astroquery.mast.Observations.download_products() HOT 1
- Add support for upload tables for queries in ALMA
- BUG: CI -- no space left on device HOT 2
- ESA Herschel download_data connection error HOT 2
- MAINT: retire/rename exceptions.TimeoutError in favour of requests
- TST: esasky tests take too long time and donwload too much data HOT 8
- BUG: alma test downloads 850+Mb of data HOT 8
- How to download Level 1 ancillary (*cbcd.fits and *cbunc.fits) from IRSA?
- Vizier.query_region() returns incorrect index for some catalog HOT 3
- CI: rerun failing tests at the end
- Bug in rows limitation in module vizier HOT 2
- Unexpected behavior when passing `obj_names` to `SDSS.query_region()`
- Handling No astronomical object found response HOT 5
- IRSA: adding SSA method
- Astroquery.gaia API Error: RA cannot be converted to hour or hourangle. HOT 2
- MAST cloud dataset doesn't show level 3 data products
- SimbadClass got an unexpected keyword argument HOT 5
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 astroquery.