Skip to content
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

Mark/1312 Consider the angle unit string from IRAM FITS images #1313

Merged
merged 2 commits into from
Oct 11, 2023

Conversation

markccchiang
Copy link
Contributor

@markccchiang markccchiang commented Sep 13, 2023

Description

  • What is implemented or fixed? Mention the linked issue(s), if any.
    Closes cannot open old IRAM fits image #1312.

  • How does this PR solve the issue? Give a brief summary.
    Add a parser for the angle unit string from IRAM FITS images in the NormalizeUnit function.

  • Are there any companion PRs (frontend, protobuf)?
    No.

  • Is there anything else that testers should know (e.g. exactly how to reproduce the issue)?
    The IRAM FITS images can be opened now.

Checklist

  • changelog updated / no changelog update needed
  • e2e test passing / corresponding fix added / new e2e test created
  • protobuf updated to the latest dev commit / no protobuf update needed
  • added reviewers and assignee
  • added ZenHub estimate, milestone, and release

@kswang1029 kswang1029 self-assigned this Sep 13, 2023
@kswang1029 kswang1029 removed their assignment Sep 27, 2023
@kswang1029
Copy link
Contributor

@acdo2002 please validate the fix.

@acdo2002
Copy link
Contributor

acdo2002 commented Oct 2, 2023

Yes, I have confirmed the issue has been solved with this PR. Now the IRAM old data can be opened with this PR

@markccchiang markccchiang marked this pull request as ready for review October 2, 2023 14:30
@github-actions
Copy link

github-actions bot commented Oct 2, 2023

Code Coverage

Package Line Rate Health
src.Cache 66%
src.DataStream 52%
src.FileList 67%
src.Frame 50%
src.HttpServer 42%
src.ImageData 28%
src.ImageFitter 83%
src.ImageGenerators 43%
src.ImageStats 76%
src.Logger 44%
src.Main 54%
src.Region 18%
src.Session 29%
src.Table 52%
src.ThreadingManager 87%
src.Timer 85%
src.Util 49%
Summary 38% (7087 / 18701)

Copy link

@loveluthien loveluthien left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The issue is solved.

@confluence confluence merged commit 676affa into dev Oct 11, 2023
14 checks passed
@confluence confluence deleted the mark/1312_parse_IRAM_fits_angle_unit branch October 11, 2023 07:33
confluence pushed a commit that referenced this pull request Jan 17, 2024
* Consider the angle unit string for IRAM fits images

* Modify the changelog
confluence added a commit that referenced this pull request Jan 18, 2024
* Prepared changelog for cherrypicked merges

* Mark/1312 Consider the angle unit string from IRAM FITS images (#1313)

* Consider the angle unit string for IRAM fits images

* Modify the changelog

* Fix scripting interface and symlink issues (#1317)

* Fix scripting interface bad directory issues

* Update CHANGELOG.md

---------

Co-authored-by: Pam Harris <pharris@nrao.edu>
Co-authored-by: Adrianna Pińska <adrianna.pinska@gmail.com>

* Yuhsuan/1318 fix fitting mad (#1319)

* calculate mad without nans

* rename function; adjust doc

* adjust test

* update changelog

* reserve array size

* add log

* Fix the hanging problem of region spectral profiles when a region is deleted (#1330)

* Remove a mutex lock from the RegionSet method

* Restore the region mutex in RegionSet and apply it around the regions map

* skip running casa_data_autoupdate if checking version (#1308)

* skip running casa_data_autoupdate if checking version

* also skip for --help and -h and use shorter syntax

* add whitespace to prevent false positives

* Bumped version in app

* Include casacore log messages in carta log (#1315)

* Add CartaLogSink to log casacore messages in carta format

* Use casacore NullLogSink for no logging

---------

Co-authored-by: Pam Harris <pharris@nrao.edu>
Co-authored-by: Adrianna Pińska <adrianna.pinska@gmail.com>

* Squashed commit of the following:

commit 347a6f5
Author: Pam Harris <pharris@nrao.edu>
Date:   Wed Jan 10 07:51:59 2024 -0700

    Fix style for variable names

commit 13cef9c
Merge: 90f305e 0407938
Author: Pam Harris <pharris@nrao.edu>
Date:   Wed Jan 10 07:44:10 2024 -0700

    Merge branch 'pam/update_carta-casacore' of github.com:CARTAvis/carta-backend into pam/update_carta-casacore

commit 90f305e
Author: Pam Harris <pharris@nrao.edu>
Date:   Wed Jan 10 07:36:38 2024 -0700

    Fix style of variable names

commit db26557
Merge: e0cbb18 fe83785
Author: Pam Harris <pharris@nrao.edu>
Date:   Wed Jan 10 07:30:21 2024 -0700

    Merge branch 'dev' into pam/update_carta-casacore

commit 0407938
Author: Pam Harris <pharris@nrao.edu>
Date:   Fri Oct 20 16:27:30 2023 -0600

    Use shared_ptr for carta log sink in casacore LogSink

commit 1f65902
Author: Pam Harris <pharris@nrao.edu>
Date:   Fri Oct 20 16:19:21 2023 -0600

    Remove tabs from CMakeLists.txt

commit e0cbb18
Author: Pam Harris <pharris@nrao.edu>
Date:   Fri Oct 13 10:45:52 2023 -0600

    Add entry in changelog

commit 74436f7
Merge: 46a3829 e21bc8d
Author: Pam Harris <pharris@nrao.edu>
Date:   Fri Oct 13 10:12:23 2023 -0600

    Merge branch 'dev' into pam/update_carta-casacore

commit 46a3829
Author: Pam Harris <pharris@nrao.edu>
Date:   Fri Sep 1 17:31:34 2023 -0600

    Fix passing std::vector for casacore::Vector

    No longer supported in casacore update.

* Updated changelog title

---------

Co-authored-by: Cheng-Chin Chiang <chengchin.chiang@gmail.com>
Co-authored-by: pford <pford@nrao.edu>
Co-authored-by: Pam Harris <pharris@nrao.edu>
Co-authored-by: yuhsuan <43841102+YuHsuan-Hwang@users.noreply.github.com>
Co-authored-by: Anthony Moraghan <ajm@asiaa.sinica.edu.tw>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

cannot open old IRAM fits image
6 participants