SUBSIM: The Web's #1 resource for all submarine & naval simulations since 1997 |
07-26-19, 05:59 AM | #1 |
Engineer
Join Date: Mar 2017
Posts: 208
Downloads: 56
Uploads: 0
|
Celestial Navigation
I want to set up SH IV to allow for celestial navigation and have started with preliminary research. I understand the basics of celestial navigation.
From what I've read the main idea is to obtain the angles between the horizon and celestial bodies (stars, moon, sun). These angles define a circle on the earth's surface. When the angles of at least two celestial bodies are obtained, these circles intersect on the earth's surface and give two possible positions. Reasoning from whether these positions are on a land mass or at sea and proximity to previous positions allow to eliminate the incorrect position solutions. I have several questions WRT how SH IV models the various involved real world elements:
I will check on the existing celestial navigation tools / mods. Any other hints / answers will be greatly appreciated. |
07-26-19, 07:12 AM | #2 | |
Engineer
Join Date: Mar 2017
Posts: 208
Downloads: 56
Uploads: 0
|
probeanie's initial comment on my inquiry as to the possibility and reliability of CN:
Quote:
|
|
07-26-19, 08:08 AM | #3 |
Engineer
Join Date: Mar 2017
Posts: 208
Downloads: 56
Uploads: 0
|
Front Runner's invaluable investigation on de-syncing of the celestial sphere as well as save game loading related problems with time and celestial sphere:
https://www.subsim.com/radioroom/sho...d.php?t=239188 |
07-26-19, 11:10 AM | #4 |
Engineer
Join Date: Mar 2017
Posts: 208
Downloads: 56
Uploads: 0
|
This website seems to do what I need.
http://www.jb.man.ac.uk/almanac/ For instance I can input time and location and obtain the position of certain celestial bodies I can also perform the reverse and input the positions of celestial bodies as I see them and my time and solve for a position. I do struggle with the correct input for "West Longitude", see below link for their specification. Apparently instead of a longitude, such as 122°E 03' 00'' they require their eastern longitutdes to be negative -122° 03' 00'' and in addition to that they should be in hours (divide degrees by 15). Obviously this can return fractional values, as it does indeed in this case: 122°E 03' 00'' as far as I understand their specifications it should be -8.1333... 03' 00'' Their online application doesn't accept non-integer values for the hours however. Does anyone understand what exactly they want? Should I convert the fraction back into minutes: -8 11' 00'' like so? http://www.jb.man.ac.uk/almanac/help.html#longitude |
07-26-19, 11:31 AM | #5 |
Engineer
Join Date: Mar 2017
Posts: 208
Downloads: 56
Uploads: 0
|
I just did above procedure converting decimal fractions to minutes and degrees for the latitude. It's right before sunrise. My position is roughly 122°E 03' 0'', 15°N 01' 00''. My ship clock shows 0641 as the time and it is December 17, 1941.
For the sun the almanac returns an elevation of -72°, where it should be around 0°. I got a difference in azimuth for the sun of only 8 degrees: The almanac returns the sun's azimuth as 238.7°, which is equivalent to 360°-238.7° = 101.3° true bearing. The game displays the sun at 110°, so 8° degrees too far south. I don't know if
I strongly suspect that something is wrong with the input values I used for the almanac, as at around 7 in the morning the sun should be much closer to the horizon than -72° in the Philippines. I have no cause to assume that the game clock displays an incorrect time. Any help, maybe from someone familiar with real celestial navigation would be greatly appreciated. |
07-26-19, 11:44 PM | #6 |
Grey Wolf
|
I was going to suggest the USNO's celestial navigation data page, but I tried it just now and couldn't even get it to load. Anyway, when it does work, it's very easy and useful.
I'll email them and let them know that several of their pages seem to be down. This happened once before and was promptly fixed. BTW, ↓
__________________
If you have a question about celestial navigation ... ask me! Celestial Navigation Spreadsheet |
07-27-19, 03:33 AM | #7 | |
Engineer
Join Date: Mar 2017
Posts: 208
Downloads: 56
Uploads: 0
|
Quote:
There is something I really don't understand on their site, which is the transformation of longitude into what they call "west longitude" in hours, minutes and seconds, instead of the more familiar degrees, minutes and seconds. They require the longitude in DMS to be transformed into hh mm ss, which is to say degrees into hours. I believe the correct way to do that is to convert DMS into DD (decimal degrees) and to convert that into hours, by dividing DD by 15. The decimal fraction of this last division is reconverted to minutes and seconds by multiplying the decimal fraction of the hours by 60 and the remaining decimal fraction of that multiplication by 60 again, to obtain seconds. I tested their system: If for example you don't input the position yourself, but use one of their preset locations, say, Tokyo, Japan, you will get an output page that shows a very odd position for this city: Latitude: 35 42 00 Longitude: 14 40 55 While the latitude is fine, the longitude I can't make sense of. It's not DMS, as the DMS longitude for Tokyo, Japan is 139°41′32″E according to wikipedia. Converting that longitude into DD gives me 139.6922° and converting that into hh mm ss gives me 9 57 32. So their outputted longitude is neither DMS, nor DD nor hh mm ss. What gives? With regard to the USNO website: How exactly would I use that one, as opposed to jb.man.ac.uk? Does it have an input form or do I look up values and make my own calculations? I don't have any formulas as of yet. I simply have a rough understanding of which values to input, namely time, date, position, and which values to compare with the in-game sky, namely azimuth and elevation. |
|
07-27-19, 04:45 AM | #8 |
Grey Wolf
|
Congratulations! You've found the most confusing and convoluted web page claiming to offer almanac data on the interwebs!
Seriously though, I can only assume that this page is asking for longitude in the format of hours minutes and seconds. When I tried using Tokyo, Japan as an input, I also got a longitude of 14h40m55s or 14.6819444...h. If we multiply this by 15, we get 220.229166...°. Converting that to DMS (by taking the decimal part and multiplying by 60 and doing the same again) we get 220°13'45". If we subtract that figure from 360°, we get 139°46'15". This is approximately the East longitude of Tokyo. BUT WHY DO IT THIS WAY?! Why not just use DMS for longitude like every other [useful] application I've ever seen? I could go on about the many other ways this site is poorly designed, but I can't be bothered. It's simply terrible and way more complicated than it needs to be. Until the USNO site is sorted, I suggest you download and use the excellent software "Teacup Navigation" by Rodger Farley - available here. (If you need help determining "Delta-T" for a specific time, I can help you do that.) There are also other web sites which can give you almanac data much more easily. Here is one example. Here is another. There are many others. Again, I must congratulate you on finding the absolute worst one. (Please don't take this wrong, I'm just dumbfounded at how bad that site is. It's no reflection on you, personally.) The USNO site does have an input form. You enter the date, time and your location and it gives you data for all visible bodies - [IIRC] GHA, Dec., Hc, Zn and all of the corrections necessary to reduce a sight of each body. IOW, everything you need for celestial navigation. Very simple.
__________________
If you have a question about celestial navigation ... ask me! Celestial Navigation Spreadsheet |
07-27-19, 04:55 AM | #9 | |
Engineer
Join Date: Mar 2017
Posts: 208
Downloads: 56
Uploads: 0
|
Quote:
Thanks for the links and explanation though. For some reason I could only find the jb.man.ac.uk and the USNO (out of service). Or maybe it was Google who was being greedy. |
|
08-01-19, 02:09 PM | #10 | |
Grey Wolf
|
Quote:
FYI: The USNO got back to me and their site appears to be fully functional now.
__________________
If you have a question about celestial navigation ... ask me! Celestial Navigation Spreadsheet |
|
|
|