Skip to main content

No project description provided

Project description

Move your Aspro2 observation details to an observatory proposal database.

Description

Prepare your observations within Aspro2 ( V0.9.9.3+ ) and run a2p2 to submit your OB.

Once setup ready, select your target and use Interop Menu

CHARA OB are only displayed in the GUI for the first implementations.

ESO OB are ready to be submitted through P2. You can use the demo account for tests or have to provide your credential for real cases.

A tutorial is provided for your first steps with Aspro2.

Installation

The package is uploaded to PyPI, so you can install the package (and/or upgrade it) using pip:

pip install --upgrade [--user] a2p2

We advice to use python environment. Prefer to use the --user option over running sudo that can break you system modules.

You can also build and install from sources using git:

git clone https://github.com/JMMC-OpenDev/a2p2.git

pip install [--user] ./a2p2

or pip :

pip install git+https://github.com/JMMC-OpenDev/a2p2

Prerequisites

Some basic tests have been operated on windows, Linux and Mac OS. pytest-datafiles must be installed previously.

a2p2 should launch the program.

You may have to install some package to run tk GUI (python-tk on linux).

Usage

a2p2 [-h] [-c] [-v]

optional arguments:
-h, --help

show this help message and exit

-c, --createprefs

Create preferences file

-v, --verbose

Verbose

A GUI is provided using tkinter.

Once Aspro2 is running and a2p2 is connected to an OB submission service (using P2API) :
  • select your target

  • enter the Aspro2’s menu Interop/Send Obs. block(s) to A2p2

After few seconds, you shoud get a report of your new submission.

Each facilities get it’s own code directory to manage specific GUI and specific OB processing. You can get associated inline help in the HELP tab.

Please fill an issue for any question, remark or enhancement request.

Release notes

Check file

License

A2P2 is released under GPL license. Please have a look in the LICENSE file for any detail and feel free to fill issues.

Screenshot

A2P2 screenshot

Interaction diagram

A2P2 interaction diagram

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

a2p2-0.7.8.tar.gz (73.1 kB view details)

Uploaded Source

Built Distribution

a2p2-0.7.8-py3-none-any.whl (81.8 kB view details)

Uploaded Python 3

File details

Details for the file a2p2-0.7.8.tar.gz.

File metadata

  • Download URL: a2p2-0.7.8.tar.gz
  • Upload date:
  • Size: 73.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for a2p2-0.7.8.tar.gz
Algorithm Hash digest
SHA256 ac5a7fa0f724479a116baf164d291d5291788b0837177434096d16751857ea90
MD5 4c2a30ba260f83702976eb8cbbd369b1
BLAKE2b-256 7084883a20ebf79976989e97bc4630a4cd56305a9026268bd43dcda3b6f3c86e

See more details on using hashes here.

File details

Details for the file a2p2-0.7.8-py3-none-any.whl.

File metadata

  • Download URL: a2p2-0.7.8-py3-none-any.whl
  • Upload date:
  • Size: 81.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.11.11

File hashes

Hashes for a2p2-0.7.8-py3-none-any.whl
Algorithm Hash digest
SHA256 fa601195f5e93b35333bb49b4e769b4c5088c0db2a3703a38d418b66990aba56
MD5 ac6808732ce0607342d54e8377c46375
BLAKE2b-256 1c59685194e77bf8217987fc164dea898b663db34b77184665a2ce3c9b6a0b91

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page