-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Read task out shape does not match PSRFITS data shape #121
Comments
In your text above, the shapes are in fact the same... At long as
Maybe eventually we can adjust the |
I made a mistake on the file shape and I just fixed it. Do you mean, we can add reshape task as part of the writer? I think it will work. |
OK, now makes more sense. So, yes, we can already do the reshape pre-write, and I agree that we should be able to make it work on the writer as well. Given properly named |
To make it automatic, we should know the sample label from the upstream file hander. However, this information may be lost at some steps of the pipeline. |
Part of it we can infer from |
In PR #119 I added the data writing functionality. The file handler shape is (nsample, nbin, npol, nchan), but the PSRFITS shape is (nsample, nbin, nchan, npol). So the
will report the bug of not the same shape. Where should the reshape happen?
The text was updated successfully, but these errors were encountered: