qrm2 icon indicating copy to clipboard operation
qrm2 copied to clipboard

satellite command

Open 0x5c opened this issue 5 years ago • 11 comments

  • [ ] Sanitise that sat name

Satellites must match the satellite name from nasabare.txt e.g. AO-91 or ISS

  • [ ] Filter for valid grids

Locations can be 4-12 character maidenhead grid squares

0x5c avatar Dec 11 '19 06:12 0x5c

Set the request type to application/json or set ?json=true to get json results instead of rendered pages or images.

We should be able to construct embeds for this

example: https://www.satmatch.com/satellite/FO-29/obs1/CN87UO/obs2/EN61ev40?duration_hrs=72&json=true

classabbyamp avatar Dec 23 '19 23:12 classabbyamp

is being bumped to a later version

Notes:

  • how to download nasabase.txt?
  • add argument for number of hours
  • ask K5EM about adding peak angle of pass to JSON API
  • possible embed layout (maybe remove end, only show start, duration, and peak): image

classabbyamp avatar Dec 24 '19 23:12 classabbyamp

in progress work on this command is in the branch sat-cmd

classabbyamp avatar Dec 25 '19 02:12 classabbyamp

It would be somewhat easy to filter and match names from the provided nasabare.txt list. Worse part is parsing the file.

0x5c avatar Oct 30 '20 11:10 0x5c

at this point, I think it would be better to switch to using n2yo as our data source.

classabbyamp avatar Mar 22 '21 07:03 classabbyamp

So a full rewrite? Does ny2o support all the feature we used, and will it require gridtools?

0x5c avatar Mar 22 '21 09:03 0x5c

ya pretty much a full rewrite. not like there was much useful code there anyways, with how old it is. n2yo should be able to show things like max elevation and pass lengths. gridtools possibly required, but it's a super-simple integration, especially whe it's already used in the bot

classabbyamp avatar Mar 23 '21 03:03 classabbyamp

I don't really remember the original sat command, is there any info it had that ny2o does not? As for gridtools, would allow for accepting both squares and lat/long, and even do conversion if wrapped in a converter

0x5c avatar Mar 23 '21 16:03 0x5c

I think n2yo has a superset of info VS sat match. good idea on the gridtools

classabbyamp avatar Mar 23 '21 16:03 classabbyamp

Let's switch then New issue to start fresh?

0x5c avatar Mar 24 '21 07:03 0x5c

big issue with N2YO: only 1 observer for passes. we should bug the satmatch author again instead.

classabbyamp avatar Mar 25 '21 02:03 classabbyamp