USAGE.txt 1.4 KB

123456789101112131415161718192021222324252627282930313233343536
  1. chart=models.ForeignKey(AstroChart)
  2. date=models.DateField(_('date'))
  3. sunrise=models.TimeField(_('sunrise'), null=True, blank=True)
  4. sunset=models.TimeField(_('sunset'), null=True, blank=True)
  5. moonrise=models.TimeField(_('moonrise'), null=True, blank=True)
  6. moonset=models.TimeField(_('moonset'), null=True, blank=True)
  7. moonphase=models.IntegerField(_('moon phase'), choices=MOON_PHASES, null=True, blank=True)
  8. civil_twilight_am=models.TimeField(_('morning civil twilight'), null=True, blank=True)
  9. civil_twilight_pm=models.TimeField(_('evening civil twilight'), null=True, blank=True)
  10. nautical_twilight_am=models.TimeField(_('morning nautical twilight'), null=True, blank=True)
  11. nautical_twilight_pm=models.TimeField(_('evening nautical twilight'), null=True, blank=True)
  12. Almanac
  13. =======
  14. An Django application for presenting various information about astronomical
  15. events and tidal states.
  16. The upload portion is limited in its design to only accept CSV files that are
  17. formated with Windows carriage returns. The importer skips the first row and
  18. proceeds to load either the astronomical chart with data or the tide chart.
  19. Astronomical Data Format
  20. ------------------------
  21. The astronomical data requires the CSV file to list data in the following rows:
  22. | YYYY-MM-DD | SRISE | SSET | MRISE | MSET | CTW AM | CTW PM | NTW AM | NTW PM |
  23. Tide Data Format
  24. ----------------
  25. Tide data requires the CSV file to list data in the following rows:
  26. |