Comments (19)
A few questions:
1- Are you using the original file names or the KOA generated file names?
2- After you run kcwi_prep, there are some diagnostic files that identify the file types. One of them is what.list. Could you upload it here?
from kcwidrp.
from kcwidrp.
In this case, can you send the result of running just the kcwi_prep? that produces a file called a proc table
from kcwidrp.
from kcwidrp.
Could you try to run the pipeline on a directory that only contains data from the 190330 data? Remove any reference to 190331. I am not sure how froot works and if it is implemented correctly.
I have your data on disk, and I have no problem running the pipeline, but I only have 190330.
The relevant line I get from running kcwi_prep is:
% Compiled module: JULDAY.
KCWI_PREP [INFO 1 ] Number of raw input images: 65
% Compiled module: KCWI_PRINT_CFGS.
While you get:
% Compiled module: JULDAY.
KCWI_PREP [INFO 1 ] Number of raw input images: 1
% Compiled module: KCWI_PRINT_CFGS.
from kcwidrp.
from kcwidrp.
from kcwidrp.
from kcwidrp.
I am on travel until the end of the week. I will be able to look into this further when I get back to Waimea after Easter.
We can reduce your data on your computers there, and find a way to transfer the results to you, next week.
from kcwidrp.
from kcwidrp.
Hi Harald,
I think I found the problem with your data.
We actually discussed it briefly when you were here, but I think we both lost track of it.
Some of your calibration files don't have the correct header information. Specifically, there is a keyword called CALTYPE, and I am sure that if you look at your files it is probably set to unknown.
For that reason, and to reduce the data online, we created a short script that fixes the header. The script is still in the reduced data directory on our computers.
Here it is:
from astropy.io import fits
contbars = [11,30,42]
arclamps = [12,13, 31,32, 43,44]
flatlamps = [14,15,16,17,18,19, 33,34,35,36,37,38, 45,46,47,48,49,50]
bias = [20,21,22,23,24,25,26]
prefix = "kb190330"
for frame in contbars:
file_name = "%s_%05d.fits" % (prefix, frame)
fits.setval(file_name, 'CALTYPE', value='cbars')
for frame in arclamps:
file_name = "%s_%05d.fits" % (prefix, frame)
fits.setval(file_name, 'CALTYPE', value='arcflat')
for frame in flatlamps:
file_name = "%s_%05d.fits" % (prefix, frame)
fits.setval(file_name, 'CALTYPE', value='cflat')
for frame in bias:
file_name = "%s_%05d.fits" % (prefix, frame)
fits.setval(file_name, 'CALTYPE', value='dark')
Make sure that the file numbers at the top correspond to the actual calibrations, but it seems correct to me.
Maybe make a copy of your data, and then run this script on the raw data before you do any pipeline step, including kcwi_prep.
from kcwidrp.
from kcwidrp.
from kcwidrp.
Let's verify that you are running the correct version of the code.
Did you install it using a tar file or using git?
If you used tar, I recommend that you switch to git.
git clone https://github.com/Keck-DataReductionPipelines/KcwiDRP.git
The installation instructions might be different, but this is my recommendation. This will allow us to verify that you are running the correct version by using the command:
git pull
If the result is that nothing needs to be downloaded, then you are on the latest version.
from kcwidrp.
from kcwidrp.
from kcwidrp.
from kcwidrp.
from kcwidrp.
from kcwidrp.
Related Issues (9)
- Understanding sky-subtraction
- kcwi_stage6drr HOT 2
- Clarification on Sky Subtraction HOT 1
- undefined function: 'List' in kcwi_stage5sky with display=2
- issue with importing lacosmicx HOT 1
- wavemap error when using archival filename convention HOT 1
- Proper Motions
- Some question about the the standard star database
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 kcwidrp.