Skip to content

Commit

Permalink
Update Apophis script and some cleanup (#29)
Browse files Browse the repository at this point in the history
* HTTP.jl strikes back

* Cleanup

* Cleanup

* Update src/observations/topocentric.jl

* Revert changes in obs_pos_ECEF

* Try larger timeouts

* Update apophis.jl script

* Add pha/Project.toml for script runs

* Minor fix

* More fixes in apophis.jl

* Even more fixes

* Fix typo

* Fix in bwdfwdeph

* Fix type signature in bwdfwdeph

* Fix script and bwdfwdeph

* Switch back to Downloads: low speed limit 300 seconds, 4 retries

* Update apophis.jl

* Update apophis.jl

* Update apophis.jl

* Revert "Switch back to Downloads: low speed limit 300 seconds, 4 retries"

This reverts commit fa07964.

* Try setting connect_timeout and readtimeout to 180 in download_scratch

* Update pha/Project.toml

* Update README.md

* Cleanup

* Update docstrings

* Update README.md

* Update apophis.jl

* Update Apophis notebook

* Minor fixes

* Update Project.toml

* Update apophis.jl

* Update apophis.jl
  • Loading branch information
PerezHz authored Jul 17, 2023
1 parent 7e0ceec commit 07e138f
Show file tree
Hide file tree
Showing 12 changed files with 469 additions and 1,597 deletions.
2 changes: 1 addition & 1 deletion Project.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
name = "NEOs"
uuid = "b41c07a2-2abb-11e9-070a-c3c1b239e7df"
authors = ["Jorge A. Pérez Hernández", "Luis Benet", "Luis Eduardo Ramírez Montoya"]
version = "0.7.0"
version = "0.7.1"

[deps]
Artifacts = "56f22d72-fd6d-98f1-02f0-08ddc0907c33"
Expand Down
24 changes: 19 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
[![Coverage Status](https://coveralls.io/repos/github/PerezHz/NEOs.jl/badge.svg?branch=main)](https://coveralls.io/github/PerezHz/NEOs.jl?branch=main)
[![codecov](https://codecov.io/gh/PerezHz/NEOs.jl/branch/main/graph/badge.svg?token=F1IY79YP3J)](https://codecov.io/gh/PerezHz/NEOs.jl)

`NEOs.jl` is a Near-Earth Object orbital propagator and
fitter in Julia. `NEOs.jl` exploits jet transport techniques via
`NEOs.jl` is a Julia package for high-accuracy orbit determination and propagation of
Near-Earth Objects. `NEOs.jl` exploits jet transport techniques via
[TaylorIntegration.jl](https://github.com/PerezHz/TaylorIntegration.jl).

## Authors
Expand All @@ -27,8 +27,20 @@ The current version of this package may be installed in Julia pkg manager via:

## Usage

The `apophis.jl` file in the `pha` directory contains an example script. This
script may be called as:
The `pha` directory contains the `apophis.jl` script which performs an
orbit determination for asteroid (99942) Apophis from optical and radar astrometry. In order
to run this script, the environment corresponding to the `Project.toml` contained in the
`pha` directory has to be active and instantiated. This can be done, for example, by running
the following command from the `pha` directory:

``julia -e `import Pkg; Pkg.activate(); Pkg.instantiate()` # run this from the `pha` directory ``

Once the `pha` environment is active, this script may be called from the `pha` directory
with the default settings as:

`julia --project apophis.jl`

The `--help` option can be passed to see a list of the customizable settings

`julia --project apophis.jl --help`

Expand All @@ -43,6 +55,8 @@ resources provided by LANCAD-UNAM-DGTIC-284.

## References

- Pérez-Hernández, J.A., Benet, L. Non-zero Yarkovsky acceleration for near-Earth asteroid
(99942) Apophis. Commun Earth Environ 3, 10 (2022). https://doi.org/10.1038/s43247-021-00337-x
- Pérez-Hernández, Jorge A., & Benet, Luis. (2023).
[PerezHz/TaylorIntegration.jl](https://github.com/PerezHzTaylorIntegration.jl):
v0.13.0 (Version v0.13.0). Zenodo. http://doi.org/10.5281/zenodo.7953772
v0.14.2 (Version v0.14.2). Zenodo. https://doi.org/10.5281/zenodo.8104080
Loading

2 comments on commit 07e138f

@PerezHz
Copy link
Owner Author

Choose a reason for hiding this comment

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

@JuliaRegistrator register()

@JuliaRegistrator
Copy link

Choose a reason for hiding this comment

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

Registration pull request created: JuliaRegistries/General/87659

After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.

This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:

git tag -a v0.7.1 -m "<description of version>" 07e138f725899369c4e8094e44ea97740daa086b
git push origin v0.7.1

Please sign in to comment.