Comments (3)
@hbushouse Thoughts?
from jwst.
The exp_to_source task will be run as essentially the first step of the calspec3 pipeline, at least for some observing modes, i.e. the ones that obtain spectra of multiple sources simultaneously (which means NIRCam and NIRISS WFSS, NIRSpec MOS, and NIRSpec fixed-slit). The input to the calspec3 pipeline will be a level-3 ASN table, which will list all the input level-2b exposure-based products. Because the ASN generator can't know at the time it runs what the various output sources will be and hence it can't specify the output source-based file name(s) in the ASN table, either the calspec3 pipeline module or the exp_to_source task itself will need to construct the source-based output file names. The ASN generator could at least specify a template source-based file name in the ASN table, such as:
jw12345_o0001_<targ_id/source_id>_nirspec_g140m_<prod_type>.fits
and then leave it to either calspec3 or exp_to_source to fill in both <targ_id/source_id> and <prod_type> as each source-based file is created. For WFSS and MOS modes, we should have an actual source_id available for each source from the WFSS source catalog or the MSA meta data table, respectively. Those names could easily be stored in the SOURCEID keyword for each slit instance that was created upstream in calspec2 during the extract_2d step, and hence that's where exp_to_source can get them. The NIRSpec fixed-slit case is not as straightforward, because we won't have individual source id's specified upstream for each slit. I think the best that can be done for that mode is to use the generic target_id from the exposures (which should be the same for all input exposures) and perhaps append the slit name (S200A1, S200B1, etc.) as an additional part of either the target_id field or the optical element field of the output source-based file name.
from jwst.
Resolved by #2330
from jwst.
Related Issues (20)
- Error in ApCorr propagation to variances HOT 2
- Background error propagation in non-IFU background subtraction HOT 2
- Add group_id to Level 3 associations HOT 2
- Investigate refpix differences across systems
- Investigate coron3 differences across systems
- Nod Flux oversubtraction correction for NIRSpec Fixed-Slit and MOS point-source spectra
- Move NIRSpec FS point source position assignment out of wavecorr HOT 2
- Spec3 step mrs_imatch crashing HOT 1
- extract_1d SOSS ATOCA failures on saturated data HOT 3
- Remove drizpars handling from resample steps HOT 3
- Flux differences in stage 3 products when combining multiple grating/filters HOT 1
- Improve runtime of NSClean step HOT 4
- Modify NSClean behaviour for subarray data HOT 3
- Ensure NaN values are excluded from sum in spectral extraction
- Remove "R_DRZPAR" definition from datamodels schema HOT 1
- Improve NIRSpec spec2 runtime for BOTS/MOS HOT 15
- Update the JWST pipeline to accommodate the new likelihood algorithm in ramp fitting
- Error in NIRSpec spectral WCS with all-NaN input to resample HOT 1
- Bug in extract1d._coalesce_bounds HOT 1
- extract1d._coalesce_bounds can return unexpected results HOT 6
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 jwst.