openspace-rvdata

Python library to generate assets for OpenSpace from rvdata.us.

https://github.com/kcollins/openspace_rvdata

Science Score: 67.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
    Found CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 4 DOI reference(s) in README
  • Academic publication links
    Links to: zenodo.org
  • Academic email domains
  • Institutional organization owner
  • JOSS paper metadata
  • Scientific vocabulary similarity
    Low similarity (10.0%) to scientific vocabulary
Last synced: 6 months ago · JSON representation ·

Repository

Python library to generate assets for OpenSpace from rvdata.us.

Basic Info
Statistics
  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • Open Issues: 6
  • Releases: 2
Created 9 months ago · Last pushed 8 months ago
Metadata Files
Readme Contributing License Citation

README.rst

openspace_rvdata
================

|Binder| |Zenodo| |PyPI version|

Ship track plots for `OpenSpace `__
pulling data from https://www.rvdata.us.

|image|

Minimum Working Example
-----------------------

Here's a snippet to pull data for
`RR2402 `__.

::

   import openspace_rvdata.r2r2df as r2r
   import openspace_rvdata.tracks as trk
   cruise_id = "RR2402"
   url = r2r.get_r2r_url(cruise_id)
   mdf = r2r.get_cruise_metadata(url)
   gdf = r2r.get_cruise_nav(cruise_id)
   trk.get_cruise_asset(mdf)
   trk.get_cruise_keyframes("tmp/"+cruise_id+"_1min.geoCSV")

This will generate two dataframes: ``mdf``, containing metadata, and
``gdf``, containing time-referenced coordinates. It will save the data
in geoCSV format to a local folder /tmp, along with the two OpenSpace
assets required to view the cruise data in OpenSpace: ``RR2402.asset``
(metadata) and ``RR2402_keyframes.asset`` (coordinates).

Once you have generated the assets, you can import them into OpenSpace
by dragging and dropping the assets. You can also move them into your
local OpenSpace asset directory and add them to your profile. Refer to
the `OpenSpace
documentation `__
for more information about creation and import of assets.

Software Architecture
---------------------

The highlighted blocks are OpenSpace assets.

.. code:: mermaid

   flowchart TD
       n1["cruise_id, DOI or vessel name"] --> n2["get_r2r_url"]
       n2 -- url --> n3["get_cruise_metadata"]
       n3 -- mdf --> n4["get_cruise_asset"]
       n4 --> n5["cruise_id.asset"]
       n6["cruise_id, sampling rate"] --> n7["get_cruise_nav"]
       n7 --> n8["geoCSV"]
       n8 --> n9["geocsv2geojson"] & n10["cruise_id.geojson"] & n11("plotly.express") & n13["get_cruise_keyframes"]
       n9 --> n10
       n11 --> n12[".html"]
       n13 --> n14["cruise_id_keyframes.asset"]

       n1@{ shape: manual-input}
       n2@{ shape: process}
       n5@{ shape: document}
       n6@{ shape: manual-input}
       n8@{ shape: document}
       n9@{ shape:document}
       n10@{ shape: document}
       n12@{ shape: docs}
       n14@{ shape: document}
       click n1 "https://www.rvdata.us/search/cruise/RR2402"
      
      style n5 fill:#669,stroke:#333,stroke-width:4px 
      style n14 fill:#669,stroke:#333,stroke-width:4px

Acknowledgments
---------------

Many thanks to the members of the `OpenSpace
Slack `__, particularly `Alex
Bock `__ (Linköping University),
`Micah Acinapura `__ (American Museum of
Natural History) and `James Hedberg `__
(CCNY Planetarium), who provided guidance and example code.

Disclaimers
^^^^^^^^^^^

Google Gemini was used to prototype the code in this repository. The
authors are not affiliated with OpenSpace or R2R.

Citations
---------

- A. Bock et al., "OpenSpace: A System for Astrographics," in IEEE
  Transactions on Visualization and Computer Graphics, vol. 26, no. 1,
  pp. 633-642, Jan. 2020, doi: 10.1109/TVCG.2019.2934259.
- Rolling Deck to Repository: Supporting the marine science community
  with data management services from academic research expeditions,
  Carbotte, S.M., O’Hara, S., Stocks, K., Clark, P., Stolp, L., Smith,
  S.R., Briggs, K., Hudak, R., Miller, E., Olson, C.J., Shane, N.,
  Uribe, R., Arko, R., Chandler, C.L., Ferrini, V., Miller, S.P., Doyle,
  A., Holik, J. Frontiers in Marine Science, 9, p.1012756. 2022
- Plotly Technologies Inc. Collaborative data science. Montréal, QC,
  2015. https://plot.ly.

.. |image| image:: https://github.com/user-attachments/assets/c397de8c-c8c4-4e8a-8ade-32f351be42fb
.. |Binder| image:: https://mybinder.org/badge_logo.svg
 :target: https://mybinder.org/v2/gh/KCollins/openspace_rvdata/HEAD?urlpath=%2Fdoc%2Ftree%2Fnotebooks%2FMWE.ipynb
.. |Zenodo| image:: https://zenodo.org/badge/DOI/10.5281/zenodo.15726300.svg
  :target: https://doi.org/10.5281/zenodo.15726300
.. |PyPI version| image:: https://badge.fury.io/py/openspace_rvdata.svg
   :target: https://badge.fury.io/py/openspace_rvdata

Owner

  • Login: KCollins
  • Kind: user

Citation (CITATION.cff)

cff-version: 1.2.0
message: "If you use this software, please cite it as below."
authors:
  - family-names: Collins
    given-names: Kristina
    orcid: https://orcid.org/0000-0002-3816-1948
  - family-names: Forsch
    given-names: Kiefer
    orcid: https://orcid.org/0000-0003-1076-164X
title: "openspace-rvdata"
version: 1
doi: 
date-released: 

GitHub Events

Total
  • Create event: 2
  • Release event: 3
  • Issues event: 4
  • Push event: 43
Last Year
  • Create event: 2
  • Release event: 3
  • Issues event: 4
  • Push event: 43

Packages

  • Total packages: 1
  • Total downloads:
    • pypi 115 last-month
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 1
  • Total maintainers: 1
pypi.org: openspace-rvdata

Library for generating OpenSpace assets for RV ship trails.

  • Documentation: https://openspace-rvdata.readthedocs.io/
  • License: MIT License Copyright (c) 2025 Kristina Collins Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
  • Latest release: 0.0.1
    published 8 months ago
  • Versions: 1
  • Dependent Packages: 0
  • Dependent Repositories: 0
  • Downloads: 115 Last month
Rankings
Dependent packages count: 8.9%
Average: 29.7%
Dependent repos count: 50.4%
Maintainers (1)
Last synced: 7 months ago

Dependencies

.github/workflows/pylint.yml actions
  • actions/checkout v4 composite
  • actions/setup-python v3 composite
.github/workflows/static.yml actions
  • actions/checkout v4 composite
  • actions/configure-pages v5 composite
  • actions/deploy-pages v4 composite
  • actions/upload-pages-artifact v3 composite
docs/requirements.in pypi
  • Sphinx >=5,<6
  • datetime *
  • pandas *
  • requests *
  • sphinx_rtd_theme *
docs/requirements.txt pypi
  • alabaster ==0.7.16
  • babel ==2.17.0
  • certifi ==2025.6.15
  • charset-normalizer ==3.4.2
  • datetime ==5.5
  • docutils ==0.19
  • idna ==3.10
  • imagesize ==1.4.1
  • importlib-metadata ==8.7.0
  • jinja2 ==3.1.6
  • markupsafe ==3.0.2
  • numpy ==2.0.2
  • packaging ==25.0
  • pandas ==2.3.0
  • pygments ==2.19.2
  • python-dateutil ==2.9.0.post0
  • pytz ==2025.2
  • requests ==2.32.4
  • six ==1.17.0
  • snowballstemmer ==3.0.1
  • sphinx ==5.3.0
  • sphinx-rtd-theme ==2.0.0
  • sphinxcontrib-applehelp ==2.0.0
  • sphinxcontrib-devhelp ==2.0.0
  • sphinxcontrib-htmlhelp ==2.1.0
  • sphinxcontrib-jquery ==4.1
  • sphinxcontrib-jsmath ==1.0.1
  • sphinxcontrib-qthelp ==2.0.0
  • sphinxcontrib-serializinghtml ==2.0.0
  • tzdata ==2025.2
  • urllib3 ==2.5.0
  • zipp ==3.23.0
  • zope-interface ==7.2
pyproject.toml pypi
  • datetime *
  • pandas *
  • plotly *
  • requests *