:orphan:
.. _sphx_glr_sample_data:
.. _sample_data:
Sample Data
===========
Verde provides some sample data and ways of generating synthetic data through
the :mod:`verde.datasets` module.
.. warning::
All sample datasets in Verde are deprecated and will be
**removed in Verde v2.0.0**.
The tutorials/examples will transition to using
`Ensaio `__ instead.
Where are my data files?
------------------------
The sample data files are downloaded automatically by :mod:`pooch` the first
time you load them. The files are saved to the default cache location on your
operating system. The location varies depending on your system and
configuration. We provide the :func:`verde.datasets.locate` function if you
need to find the data storage location on your system.
You can change the base data directory by setting the ``VERDE_DATA_DIR``
environment variable to the desired path.
Available datasets
------------------
These are the datasets currently available. Most also come with a companion
function for setting up a Cartopy map to display the data.
.. raw:: html
.. only:: html
.. figure:: /sample_data/images/thumb/sphx_glr_baja_bathymetry_thumb.png
:alt: [DEPRECATED] Bathymetry data from Baja California
:ref:`sphx_glr_sample_data_baja_bathymetry.py`
.. raw:: html
.. toctree::
:hidden:
/sample_data/baja_bathymetry
.. raw:: html
.. only:: html
.. figure:: /sample_data/images/thumb/sphx_glr_california_gps_thumb.png
:alt: [DEPRECATED] GPS velocities from California
:ref:`sphx_glr_sample_data_california_gps.py`
.. raw:: html
.. toctree::
:hidden:
/sample_data/california_gps
.. raw:: html
.. only:: html
.. figure:: /sample_data/images/thumb/sphx_glr_checkerboard_thumb.png
:alt: Checkerboard function
:ref:`sphx_glr_sample_data_checkerboard.py`
.. raw:: html
.. toctree::
:hidden:
/sample_data/checkerboard
.. raw:: html
.. only:: html
.. figure:: /sample_data/images/thumb/sphx_glr_rio_magnetic_thumb.png
:alt: [DEPRECATED] Magnetic data from Rio de Janeiro
:ref:`sphx_glr_sample_data_rio_magnetic.py`
.. raw:: html
.. toctree::
:hidden:
/sample_data/rio_magnetic
.. raw:: html
.. only:: html
.. figure:: /sample_data/images/thumb/sphx_glr_texas-wind_thumb.png
:alt: [DEPRECATED] Wind speed data from Texas
:ref:`sphx_glr_sample_data_texas-wind.py`
.. raw:: html
.. toctree::
:hidden:
/sample_data/texas-wind
.. raw:: html
.. only:: html
.. rst-class:: sphx-glr-signature
`Gallery generated by Sphinx-Gallery `_