
.. DO NOT EDIT.
.. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY.
.. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE:
.. "examples/Creating_GS_Files/plot_csv_magnetics.py"
.. LINE NUMBERS ARE GIVEN BELOW.

.. only:: html

    .. note::
        :class: sphx-glr-download-link-note

        :ref:`Go to the end <sphx_glr_download_examples_Creating_GS_Files_plot_csv_magnetics.py>`
        to download the full example code.

.. rst-class:: sphx-glr-example-title

.. _sphx_glr_examples_Creating_GS_Files_plot_csv_magnetics.py:


Magnetic Survey
---------------

These magnetic data channels were pulled from the Wisconsin Skytem example in this repository

Dataset Reference:
Minsley, B.J, Bloss, B.R., Hart, D.J., Fitzpatrick, W., Muldoon, M.A., Stewart, E.K., Hunt, R.J., James, S.R., Foks, N.L., and Komiskey, M.J., 2022, Airborne electromagnetic and magnetic survey data, northeast Wisconsin (ver. 1.1, June 2022): U.S. Geological Survey data release, https://doi.org/10.5066/P93SY9LI.

.. GENERATED FROM PYTHON SOURCE LINES 11-20

.. code-block:: Python

    import matplotlib.pyplot as plt
    from os.path import join
    import numpy as np
    import gspy
    from gspy import Survey
    import xarray as xr
    from pprint import pprint









.. GENERATED FROM PYTHON SOURCE LINES 21-23

Convert the magnetic csv data to NetCDF
+++++++++++++++++++++++++++++++++++++++

.. GENERATED FROM PYTHON SOURCE LINES 25-26

Initialize the Survey

.. GENERATED FROM PYTHON SOURCE LINES 26-39

.. code-block:: Python


    # Path to example files
    data_path = '..//data_files//magnetics'

    # Survey metadata file
    metadata = join(data_path, "WI_Magnetics_survey_md.yml")

    # Establish the Survey
    survey = Survey.from_dict(metadata)

    data_container = survey.gs.add_container('data', **dict(content = "raw and gridded data",
                                                            comment = "This is a test"))








.. GENERATED FROM PYTHON SOURCE LINES 40-43

1 - Raw Data -
Import raw mag data from CSV-format.
Define input data file and associated metadata file

.. GENERATED FROM PYTHON SOURCE LINES 43-49

.. code-block:: Python

    d_data1 = join(data_path, 'WI_Magnetics.csv')
    d_supp1 = join(data_path, 'WI_Magnetics_raw_data_md.yml')

    # Add the raw AEM data as a tabular dataset
    data_container.gs.add(key='raw_data', data_filename=d_data1, metadata_file=d_supp1)






.. raw:: html

    <div class="output_subarea output_html rendered_html output_result">
    <div><svg style="position: absolute; width: 0; height: 0; overflow: hidden">
    <defs>
    <symbol id="icon-database" viewBox="0 0 32 32">
    <path d="M16 0c-8.837 0-16 2.239-16 5v4c0 2.761 7.163 5 16 5s16-2.239 16-5v-4c0-2.761-7.163-5-16-5z"></path>
    <path d="M16 17c-8.837 0-16-2.239-16-5v6c0 2.761 7.163 5 16 5s16-2.239 16-5v-6c0 2.761-7.163 5-16 5z"></path>
    <path d="M16 26c-8.837 0-16-2.239-16-5v6c0 2.761 7.163 5 16 5s16-2.239 16-5v-6c0 2.761-7.163 5-16 5z"></path>
    </symbol>
    <symbol id="icon-file-text2" viewBox="0 0 32 32">
    <path d="M28.681 7.159c-0.694-0.947-1.662-2.053-2.724-3.116s-2.169-2.030-3.116-2.724c-1.612-1.182-2.393-1.319-2.841-1.319h-15.5c-1.378 0-2.5 1.121-2.5 2.5v27c0 1.378 1.122 2.5 2.5 2.5h23c1.378 0 2.5-1.122 2.5-2.5v-19.5c0-0.448-0.137-1.23-1.319-2.841zM24.543 5.457c0.959 0.959 1.712 1.825 2.268 2.543h-4.811v-4.811c0.718 0.556 1.584 1.309 2.543 2.268zM28 29.5c0 0.271-0.229 0.5-0.5 0.5h-23c-0.271 0-0.5-0.229-0.5-0.5v-27c0-0.271 0.229-0.5 0.5-0.5 0 0 15.499-0 15.5 0v7c0 0.552 0.448 1 1 1h7v19.5z"></path>
    <path d="M23 26h-14c-0.552 0-1-0.448-1-1s0.448-1 1-1h14c0.552 0 1 0.448 1 1s-0.448 1-1 1z"></path>
    <path d="M23 22h-14c-0.552 0-1-0.448-1-1s0.448-1 1-1h14c0.552 0 1 0.448 1 1s-0.448 1-1 1z"></path>
    <path d="M23 18h-14c-0.552 0-1-0.448-1-1s0.448-1 1-1h14c0.552 0 1 0.448 1 1s-0.448 1-1 1z"></path>
    </symbol>
    </defs>
    </svg>
    <style>/* CSS stylesheet for displaying xarray objects in notebooks */

    :root {
      --xr-font-color0: var(
        --jp-content-font-color0,
        var(--pst-color-text-base rgba(0, 0, 0, 1))
      );
      --xr-font-color2: var(
        --jp-content-font-color2,
        var(--pst-color-text-base, rgba(0, 0, 0, 0.54))
      );
      --xr-font-color3: var(
        --jp-content-font-color3,
        var(--pst-color-text-base, rgba(0, 0, 0, 0.38))
      );
      --xr-border-color: var(
        --jp-border-color2,
        hsl(from var(--pst-color-on-background, white) h s calc(l - 10))
      );
      --xr-disabled-color: var(
        --jp-layout-color3,
        hsl(from var(--pst-color-on-background, white) h s calc(l - 40))
      );
      --xr-background-color: var(
        --jp-layout-color0,
        var(--pst-color-on-background, white)
      );
      --xr-background-color-row-even: var(
        --jp-layout-color1,
        hsl(from var(--pst-color-on-background, white) h s calc(l - 5))
      );
      --xr-background-color-row-odd: var(
        --jp-layout-color2,
        hsl(from var(--pst-color-on-background, white) h s calc(l - 15))
      );
    }

    html[theme="dark"],
    html[data-theme="dark"],
    body[data-theme="dark"],
    body.vscode-dark {
      --xr-font-color0: var(
        --jp-content-font-color0,
        var(--pst-color-text-base, rgba(255, 255, 255, 1))
      );
      --xr-font-color2: var(
        --jp-content-font-color2,
        var(--pst-color-text-base, rgba(255, 255, 255, 0.54))
      );
      --xr-font-color3: var(
        --jp-content-font-color3,
        var(--pst-color-text-base, rgba(255, 255, 255, 0.38))
      );
      --xr-border-color: var(
        --jp-border-color2,
        hsl(from var(--pst-color-on-background, #111111) h s calc(l + 10))
      );
      --xr-disabled-color: var(
        --jp-layout-color3,
        hsl(from var(--pst-color-on-background, #111111) h s calc(l + 40))
      );
      --xr-background-color: var(
        --jp-layout-color0,
        var(--pst-color-on-background, #111111)
      );
      --xr-background-color-row-even: var(
        --jp-layout-color1,
        hsl(from var(--pst-color-on-background, #111111) h s calc(l + 5))
      );
      --xr-background-color-row-odd: var(
        --jp-layout-color2,
        hsl(from var(--pst-color-on-background, #111111) h s calc(l + 15))
      );
    }

    .xr-wrap {
      display: block !important;
      min-width: 300px;
      max-width: 700px;
      line-height: 1.6;
    }

    .xr-text-repr-fallback {
      /* fallback to plain text repr when CSS is not injected (untrusted notebook) */
      display: none;
    }

    .xr-header {
      padding-top: 6px;
      padding-bottom: 6px;
      margin-bottom: 4px;
      border-bottom: solid 1px var(--xr-border-color);
    }

    .xr-header > div,
    .xr-header > ul {
      display: inline;
      margin-top: 0;
      margin-bottom: 0;
    }

    .xr-obj-type,
    .xr-obj-name,
    .xr-group-name {
      margin-left: 2px;
      margin-right: 10px;
    }

    .xr-group-name::before {
      content: "📁";
      padding-right: 0.3em;
    }

    .xr-group-name,
    .xr-obj-type {
      color: var(--xr-font-color2);
    }

    .xr-sections {
      padding-left: 0 !important;
      display: grid;
      grid-template-columns: 150px auto auto 1fr 0 20px 0 20px;
      margin-block-start: 0;
      margin-block-end: 0;
    }

    .xr-section-item {
      display: contents;
    }

    .xr-section-item input {
      display: inline-block;
      opacity: 0;
      height: 0;
      margin: 0;
    }

    .xr-section-item input + label {
      color: var(--xr-disabled-color);
      border: 2px solid transparent !important;
    }

    .xr-section-item input:enabled + label {
      cursor: pointer;
      color: var(--xr-font-color2);
    }

    .xr-section-item input:focus + label {
      border: 2px solid var(--xr-font-color0) !important;
    }

    .xr-section-item input:enabled + label:hover {
      color: var(--xr-font-color0);
    }

    .xr-section-summary {
      grid-column: 1;
      color: var(--xr-font-color2);
      font-weight: 500;
    }

    .xr-section-summary > span {
      display: inline-block;
      padding-left: 0.5em;
    }

    .xr-section-summary-in:disabled + label {
      color: var(--xr-font-color2);
    }

    .xr-section-summary-in + label:before {
      display: inline-block;
      content: "►";
      font-size: 11px;
      width: 15px;
      text-align: center;
    }

    .xr-section-summary-in:disabled + label:before {
      color: var(--xr-disabled-color);
    }

    .xr-section-summary-in:checked + label:before {
      content: "▼";
    }

    .xr-section-summary-in:checked + label > span {
      display: none;
    }

    .xr-section-summary,
    .xr-section-inline-details {
      padding-top: 4px;
    }

    .xr-section-inline-details {
      grid-column: 2 / -1;
    }

    .xr-section-details {
      display: none;
      grid-column: 1 / -1;
      margin-top: 4px;
      margin-bottom: 5px;
    }

    .xr-section-summary-in:checked ~ .xr-section-details {
      display: contents;
    }

    .xr-group-box {
      display: inline-grid;
      grid-template-columns: 0px 20px auto;
      width: 100%;
    }

    .xr-group-box-vline {
      grid-column-start: 1;
      border-right: 0.2em solid;
      border-color: var(--xr-border-color);
      width: 0px;
    }

    .xr-group-box-hline {
      grid-column-start: 2;
      grid-row-start: 1;
      height: 1em;
      width: 20px;
      border-bottom: 0.2em solid;
      border-color: var(--xr-border-color);
    }

    .xr-group-box-contents {
      grid-column-start: 3;
    }

    .xr-array-wrap {
      grid-column: 1 / -1;
      display: grid;
      grid-template-columns: 20px auto;
    }

    .xr-array-wrap > label {
      grid-column: 1;
      vertical-align: top;
    }

    .xr-preview {
      color: var(--xr-font-color3);
    }

    .xr-array-preview,
    .xr-array-data {
      padding: 0 5px !important;
      grid-column: 2;
    }

    .xr-array-data,
    .xr-array-in:checked ~ .xr-array-preview {
      display: none;
    }

    .xr-array-in:checked ~ .xr-array-data,
    .xr-array-preview {
      display: inline-block;
    }

    .xr-dim-list {
      display: inline-block !important;
      list-style: none;
      padding: 0 !important;
      margin: 0;
    }

    .xr-dim-list li {
      display: inline-block;
      padding: 0;
      margin: 0;
    }

    .xr-dim-list:before {
      content: "(";
    }

    .xr-dim-list:after {
      content: ")";
    }

    .xr-dim-list li:not(:last-child):after {
      content: ",";
      padding-right: 5px;
    }

    .xr-has-index {
      font-weight: bold;
    }

    .xr-var-list,
    .xr-var-item {
      display: contents;
    }

    .xr-var-item > div,
    .xr-var-item label,
    .xr-var-item > .xr-var-name span {
      background-color: var(--xr-background-color-row-even);
      border-color: var(--xr-background-color-row-odd);
      margin-bottom: 0;
      padding-top: 2px;
    }

    .xr-var-item > .xr-var-name:hover span {
      padding-right: 5px;
    }

    .xr-var-list > li:nth-child(odd) > div,
    .xr-var-list > li:nth-child(odd) > label,
    .xr-var-list > li:nth-child(odd) > .xr-var-name span {
      background-color: var(--xr-background-color-row-odd);
      border-color: var(--xr-background-color-row-even);
    }

    .xr-var-name {
      grid-column: 1;
    }

    .xr-var-dims {
      grid-column: 2;
    }

    .xr-var-dtype {
      grid-column: 3;
      text-align: right;
      color: var(--xr-font-color2);
    }

    .xr-var-preview {
      grid-column: 4;
    }

    .xr-index-preview {
      grid-column: 2 / 5;
      color: var(--xr-font-color2);
    }

    .xr-var-name,
    .xr-var-dims,
    .xr-var-dtype,
    .xr-preview,
    .xr-attrs dt {
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      padding-right: 10px;
    }

    .xr-var-name:hover,
    .xr-var-dims:hover,
    .xr-var-dtype:hover,
    .xr-attrs dt:hover {
      overflow: visible;
      width: auto;
      z-index: 1;
    }

    .xr-var-attrs,
    .xr-var-data,
    .xr-index-data {
      display: none;
      border-top: 2px dotted var(--xr-background-color);
      padding-bottom: 20px !important;
      padding-top: 10px !important;
    }

    .xr-var-attrs-in + label,
    .xr-var-data-in + label,
    .xr-index-data-in + label {
      padding: 0 1px;
    }

    .xr-var-attrs-in:checked ~ .xr-var-attrs,
    .xr-var-data-in:checked ~ .xr-var-data,
    .xr-index-data-in:checked ~ .xr-index-data {
      display: block;
    }

    .xr-var-data > table {
      float: right;
    }

    .xr-var-data > pre,
    .xr-index-data > pre,
    .xr-var-data > table > tbody > tr {
      background-color: transparent !important;
    }

    .xr-var-name span,
    .xr-var-data,
    .xr-index-name div,
    .xr-index-data,
    .xr-attrs {
      padding-left: 25px !important;
    }

    .xr-attrs,
    .xr-var-attrs,
    .xr-var-data,
    .xr-index-data {
      grid-column: 1 / -1;
    }

    dl.xr-attrs {
      padding: 0;
      margin: 0;
      display: grid;
      grid-template-columns: 125px auto;
    }

    .xr-attrs dt,
    .xr-attrs dd {
      padding: 0;
      margin: 0;
      float: left;
      padding-right: 10px;
      width: auto;
    }

    .xr-attrs dt {
      font-weight: normal;
      grid-column: 1;
    }

    .xr-attrs dt:hover span {
      display: inline-block;
      background: var(--xr-background-color);
      padding-right: 10px;
    }

    .xr-attrs dd {
      grid-column: 2;
      white-space: pre-wrap;
      word-break: break-all;
    }

    .xr-icon-database,
    .xr-icon-file-text2,
    .xr-no-icon {
      display: inline-block;
      vertical-align: middle;
      width: 1em;
      height: 1.5em !important;
      stroke-width: 0;
      stroke: currentColor;
      fill: currentColor;
    }

    .xr-var-attrs-in:checked + label > .xr-icon-file-text2,
    .xr-var-data-in:checked + label > .xr-icon-database,
    .xr-index-data-in:checked + label > .xr-icon-database {
      color: var(--xr-font-color0);
      filter: drop-shadow(1px 1px 5px var(--xr-font-color2));
      stroke-width: 0.8px;
    }
    </style><pre class='xr-text-repr-fallback'>&lt;xarray.DataTree &#x27;raw_data&#x27;&gt;
    Group: /survey/data/raw_data
    │   Dimensions:      (index: 6785)
    │   Coordinates:
    │     * index        (index) int32 27kB 0 1 2 3 4 5 ... 6780 6781 6782 6783 6784
    │       spatial_ref  float64 8B 0.0
    │       x            (index) float64 54kB 7.243e+05 7.239e+05 ... 6.604e+05
    │       y            (index) float64 54kB 4.916e+05 4.917e+05 ... 3.866e+05
    │       z            (index) float64 54kB 176.8 217.3 231.6 ... 273.2 276.4 288.7
    │   Data variables: (12/20)
    │       fid          (index) float64 54kB 2.349e+05 2.349e+05 ... 1.868e+06
    │       line         (index) int64 54kB 100101 100101 100101 ... 115201 115201
    │       e_nad83      (index) float64 54kB 7.243e+05 7.239e+05 ... 6.604e+05
    │       n_nad83      (index) float64 54kB 4.916e+05 4.917e+05 ... 3.866e+05
    │       lon          (index) float64 54kB -87.41 -87.42 -87.42 ... -88.25 -88.25
    │       lat          (index) float64 54kB 44.87 44.87 44.87 ... 43.94 43.94 43.94
    │       ...           ...
    │       mag_raw      (index) float64 54kB 5.481e+04 5.481e+04 ... 5.413e+04
    │       tmi          (index) float64 54kB 5.482e+04 5.482e+04 ... 5.413e+04
    │       rmf          (index) float64 54kB 210.6 210.6 197.3 ... -122.7 -124.5 -120.3
    │       igrf         (index) float64 54kB 5.461e+04 5.461e+04 ... 5.425e+04
    │       inc          (index) float64 54kB 71.13 71.13 71.13 ... 70.48 70.48 70.48
    │       dec          (index) float64 54kB -4.796 -4.792 -4.787 ... -3.975 -3.972
    │   Attributes:
    │       uuid:        3a98c551-ee48-4202-af0e-b86756105ef8
    │       content:     raw data
    │       comment:     Contains mag data
    │       type:        data
    │       structure:   tabular
    │       mode:        airborne
    │       method:      magnetic
    │       submethod:   total field
    │       instrument:  cesium vapour
    │       property:    magnetic susceptibility
    └── Group: /survey/data/raw_data/magnetic_system
            Dimensions:      (dim_0: 1)
            Dimensions without coordinates: dim_0
            Data variables:
                sample_rate  (dim_0) float64 8B 0.1
                resolution   (dim_0) float64 8B 0.002
            Attributes:
                type:        system
                mode:        airborne
                method:      magnetic
                submethod:   total field
                instrument:  cesium vapour
                uuid:        f176f713-3978-4882-9f71-705bce9d189b
                name:        magnetic_system</pre><div class='xr-wrap' style='display:none'><div class='xr-header'><div class='xr-obj-type'>xarray.DataTree</div><div class='xr-obj-name'>&#x27;raw_data&#x27;</div></div><ul class='xr-sections'><li class='xr-section-item'><input id='section-38bbca0f-33fd-4dfa-8b46-13a91c086e22' class='xr-section-summary-in' type='checkbox'  ><label for='section-38bbca0f-33fd-4dfa-8b46-13a91c086e22' class='xr-section-summary' >Groups: <span>(1)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><div style='display: inline-grid; grid-template-columns: 100%; grid-column: 1 / -1'><div class='xr-group-box'><div class='xr-group-box-vline' style='height: 1.2em'></div><div class='xr-group-box-hline'></div><div class='xr-group-box-contents'><div class='xr-header'><div class='xr-group-name'>/survey/data/raw_data/magnetic_system</div></div><ul class='xr-sections'><li class='xr-section-item'><input id='section-d4fd4183-470f-46eb-8e93-f25b80a9e2ef' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-d4fd4183-470f-46eb-8e93-f25b80a9e2ef' class='xr-section-summary'  title='Expand/collapse section'>Dimensions:</label><div class='xr-section-inline-details'><ul class='xr-dim-list'><li><span class='xr-has-index'>index</span>: 6785</li><li><span>dim_0</span>: 1</li></ul></div><div class='xr-section-details'></div></li><li class='xr-section-item'><input id='section-494d4baf-6ef9-44f3-91b0-9bbfcb72610e' class='xr-section-summary-in' type='checkbox'  checked><label for='section-494d4baf-6ef9-44f3-91b0-9bbfcb72610e' class='xr-section-summary' >Data variables: <span>(2)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'><li class='xr-var-item'><div class='xr-var-name'><span>sample_rate</span></div><div class='xr-var-dims'>(dim_0)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>0.1</div><input id='attrs-c208091b-0795-4840-aa44-64ecbd2af641' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-c208091b-0795-4840-aa44-64ecbd2af641' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-1ce66306-9667-4789-9f88-da06c4b91851' class='xr-var-data-in' type='checkbox'><label for='data-1ce66306-9667-4789-9f88-da06c4b91851' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'><dt><span>grid_mapping :</span></dt><dd>spatial_ref</dd></dl></div><div class='xr-var-data'><pre>array([0.1])</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>resolution</span></div><div class='xr-var-dims'>(dim_0)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>0.002</div><input id='attrs-578512d2-9c10-41b0-a149-3509799b5b1c' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-578512d2-9c10-41b0-a149-3509799b5b1c' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-43189356-3a1f-4aaf-86ca-1cabb2ba5c1f' class='xr-var-data-in' type='checkbox'><label for='data-43189356-3a1f-4aaf-86ca-1cabb2ba5c1f' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'><dt><span>grid_mapping :</span></dt><dd>spatial_ref</dd></dl></div><div class='xr-var-data'><pre>array([0.002])</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-1a641ba6-f2f7-454a-8a17-0d9a030fad15' class='xr-section-summary-in' type='checkbox'  checked><label for='section-1a641ba6-f2f7-454a-8a17-0d9a030fad15' class='xr-section-summary' >Attributes: <span>(7)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><dl class='xr-attrs'><dt><span>type :</span></dt><dd>system</dd><dt><span>mode :</span></dt><dd>airborne</dd><dt><span>method :</span></dt><dd>magnetic</dd><dt><span>submethod :</span></dt><dd>total field</dd><dt><span>instrument :</span></dt><dd>cesium vapour</dd><dt><span>uuid :</span></dt><dd>f176f713-3978-4882-9f71-705bce9d189b</dd><dt><span>name :</span></dt><dd>magnetic_system</dd></dl></div></li></ul></div></div></div></div></li><li class='xr-section-item'><input id='section-8e3afd49-c4f0-4e55-8dd9-b75380d7eb26' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-8e3afd49-c4f0-4e55-8dd9-b75380d7eb26' class='xr-section-summary'  title='Expand/collapse section'>Dimensions:</label><div class='xr-section-inline-details'><ul class='xr-dim-list'><li><span class='xr-has-index'>index</span>: 6785</li></ul></div><div class='xr-section-details'></div></li><li class='xr-section-item'><input id='section-acb8c563-9bad-4f18-9a9d-20e25be00782' class='xr-section-summary-in' type='checkbox'  checked><label for='section-acb8c563-9bad-4f18-9a9d-20e25be00782' class='xr-section-summary' >Coordinates: <span>(5)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'><li class='xr-var-item'><div class='xr-var-name'><span class='xr-has-index'>index</span></div><div class='xr-var-dims'>(index)</div><div class='xr-var-dtype'>int32</div><div class='xr-var-preview xr-preview'>0 1 2 3 4 ... 6781 6782 6783 6784</div><input id='attrs-0edb80d9-db8d-4c6f-bc1c-d5e2d531a364' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-0edb80d9-db8d-4c6f-bc1c-d5e2d531a364' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-f85efe53-dfef-44b4-a6e1-f0e7ac324689' class='xr-var-data-in' type='checkbox'><label for='data-f85efe53-dfef-44b4-a6e1-f0e7ac324689' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'><dt><span>standard_name :</span></dt><dd>index</dd><dt><span>long_name :</span></dt><dd>Index of individual data points</dd><dt><span>units :</span></dt><dd>not_defined</dd><dt><span>null_value :</span></dt><dd>not_defined</dd><dt><span>valid_range :</span></dt><dd>[   0. 6784.]</dd><dt><span>grid_mapping :</span></dt><dd>spatial_ref</dd></dl></div><div class='xr-var-data'><pre>array([   0,    1,    2, ..., 6782, 6783, 6784], shape=(6785,), dtype=int32)</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>spatial_ref</span></div><div class='xr-var-dims'>()</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>0.0</div><input id='attrs-d65c08c7-0276-4f62-953b-a3774fed43ce' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-d65c08c7-0276-4f62-953b-a3774fed43ce' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-550659a2-7dac-4751-b4e3-d846866b2774' class='xr-var-data-in' type='checkbox'><label for='data-550659a2-7dac-4751-b4e3-d846866b2774' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'><dt><span>crs_wkt :</span></dt><dd>PROJCRS[&quot;NAD83(HARN) / Wisconsin Transverse Mercator&quot;,BASEGEOGCRS[&quot;NAD83(HARN)&quot;,DATUM[&quot;NAD83 (High Accuracy Reference Network)&quot;,ELLIPSOID[&quot;GRS 1980&quot;,6378137,298.257222101,LENGTHUNIT[&quot;metre&quot;,1]]],PRIMEM[&quot;Greenwich&quot;,0,ANGLEUNIT[&quot;degree&quot;,0.0174532925199433]],ID[&quot;EPSG&quot;,4152]],CONVERSION[&quot;Wisconsin Transverse Mercator 83&quot;,METHOD[&quot;Transverse Mercator&quot;,ID[&quot;EPSG&quot;,9807]],PARAMETER[&quot;Latitude of natural origin&quot;,0,ANGLEUNIT[&quot;degree&quot;,0.0174532925199433],ID[&quot;EPSG&quot;,8801]],PARAMETER[&quot;Longitude of natural origin&quot;,-90,ANGLEUNIT[&quot;degree&quot;,0.0174532925199433],ID[&quot;EPSG&quot;,8802]],PARAMETER[&quot;Scale factor at natural origin&quot;,0.9996,SCALEUNIT[&quot;unity&quot;,1],ID[&quot;EPSG&quot;,8805]],PARAMETER[&quot;False easting&quot;,520000,LENGTHUNIT[&quot;metre&quot;,1],ID[&quot;EPSG&quot;,8806]],PARAMETER[&quot;False northing&quot;,-4480000,LENGTHUNIT[&quot;metre&quot;,1],ID[&quot;EPSG&quot;,8807]]],CS[Cartesian,2],AXIS[&quot;easting (X)&quot;,east,ORDER[1],LENGTHUNIT[&quot;metre&quot;,1]],AXIS[&quot;northing (Y)&quot;,north,ORDER[2],LENGTHUNIT[&quot;metre&quot;,1]],USAGE[SCOPE[&quot;State-wide spatial data management.&quot;],AREA[&quot;United States (USA) - Wisconsin.&quot;],BBOX[42.48,-92.89,47.31,-86.25]],ID[&quot;EPSG&quot;,3071]]</dd><dt><span>semi_major_axis :</span></dt><dd>6378137.0</dd><dt><span>semi_minor_axis :</span></dt><dd>6356752.314140356</dd><dt><span>inverse_flattening :</span></dt><dd>298.257222101</dd><dt><span>reference_ellipsoid_name :</span></dt><dd>GRS 1980</dd><dt><span>longitude_of_prime_meridian :</span></dt><dd>0.0</dd><dt><span>prime_meridian_name :</span></dt><dd>Greenwich</dd><dt><span>geographic_crs_name :</span></dt><dd>NAD83(HARN)</dd><dt><span>horizontal_datum_name :</span></dt><dd>NAD83 (High Accuracy Reference Network)</dd><dt><span>projected_crs_name :</span></dt><dd>NAD83(HARN) / Wisconsin Transverse Mercator</dd><dt><span>grid_mapping_name :</span></dt><dd>transverse_mercator</dd><dt><span>latitude_of_projection_origin :</span></dt><dd>0.0</dd><dt><span>longitude_of_central_meridian :</span></dt><dd>-90.0</dd><dt><span>false_easting :</span></dt><dd>520000.0</dd><dt><span>false_northing :</span></dt><dd>-4480000.0</dd><dt><span>scale_factor_at_central_meridian :</span></dt><dd>0.9996</dd><dt><span>authority :</span></dt><dd>EPSG</dd><dt><span>wkid :</span></dt><dd>3071</dd></dl></div><div class='xr-var-data'><pre>array(0.)</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>x</span></div><div class='xr-var-dims'>(index)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>7.243e+05 7.239e+05 ... 6.604e+05</div><input id='attrs-250edaae-46e3-44a6-ac6a-06d3706d1f39' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-250edaae-46e3-44a6-ac6a-06d3706d1f39' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-5436549b-afe1-4be8-891f-0a55ede6af1f' class='xr-var-data-in' type='checkbox'><label for='data-5436549b-afe1-4be8-891f-0a55ede6af1f' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'><dt><span>standard_name :</span></dt><dd>projection_x_coordinate</dd><dt><span>long_name :</span></dt><dd>Easting, Wisconsin Transverse Mercator (WTM), North American Datum of 1983 (NAD83)</dd><dt><span>units :</span></dt><dd>meter</dd><dt><span>null_value :</span></dt><dd>not_defined</dd><dt><span>axis :</span></dt><dd>X</dd><dt><span>valid_range :</span></dt><dd>[655123.04631746 732074.68735257]</dd><dt><span>grid_mapping :</span></dt><dd>spatial_ref</dd></dl></div><div class='xr-var-data'><pre>array([724307.20605749, 723880.91270463, 723449.81378067, ...,
           661200.42566018, 660784.61064617, 660377.67411788], shape=(6785,))</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>y</span></div><div class='xr-var-dims'>(index)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>4.916e+05 4.917e+05 ... 3.866e+05</div><input id='attrs-0534512e-a0ec-4550-9709-eb8abbe69a46' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-0534512e-a0ec-4550-9709-eb8abbe69a46' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-536ee4c8-447f-4908-b72c-19763eb1cd0a' class='xr-var-data-in' type='checkbox'><label for='data-536ee4c8-447f-4908-b72c-19763eb1cd0a' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'><dt><span>standard_name :</span></dt><dd>projection_y_coordinate</dd><dt><span>long_name :</span></dt><dd>Northing, Wisconsin Transverse Mercator (WTM), North American Datum of 1983 (NAD83)</dd><dt><span>units :</span></dt><dd>meter</dd><dt><span>null_value :</span></dt><dd>not_defined</dd><dt><span>axis :</span></dt><dd>Y</dd><dt><span>valid_range :</span></dt><dd>[380085.03524677 492697.25185284]</dd><dt><span>grid_mapping :</span></dt><dd>spatial_ref</dd></dl></div><div class='xr-var-data'><pre>array([491569.63134953, 491709.20454699, 491852.56571001, ...,
           386191.43371437, 386361.43421179, 386555.06172562], shape=(6785,))</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>z</span></div><div class='xr-var-dims'>(index)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>176.8 217.3 231.6 ... 276.4 288.7</div><input id='attrs-09c085af-7332-48d7-a0d8-52fb2d2d51e6' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-09c085af-7332-48d7-a0d8-52fb2d2d51e6' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-b3e8748a-d185-40ca-abbe-ed3bc8fa3a5b' class='xr-var-data-in' type='checkbox'><label for='data-b3e8748a-d185-40ca-abbe-ed3bc8fa3a5b' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'><dt><span>standard_name :</span></dt><dd>z</dd><dt><span>long_name :</span></dt><dd>Digital elevation model</dd><dt><span>units :</span></dt><dd>meter</dd><dt><span>null_value :</span></dt><dd>not_defined</dd><dt><span>axis :</span></dt><dd>Z</dd><dt><span>positive :</span></dt><dd>up</dd><dt><span>datum :</span></dt><dd>North American Vertical Datum of 1988 (NAVD88)</dd><dt><span>valid_range :</span></dt><dd>[172.52357302 354.1462611 ]</dd><dt><span>grid_mapping :</span></dt><dd>spatial_ref</dd></dl></div><div class='xr-var-data'><pre>array([176.81996173, 217.30522261, 231.55221132, ..., 273.20891296,
           276.40131368, 288.74400026], shape=(6785,))</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-de19e9a7-dd21-44c1-9059-de7d6d09f708' class='xr-section-summary-in' type='checkbox'  ><label for='section-de19e9a7-dd21-44c1-9059-de7d6d09f708' class='xr-section-summary' >Data variables: <span>(20)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'><li class='xr-var-item'><div class='xr-var-name'><span>fid</span></div><div class='xr-var-dims'>(index)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>2.349e+05 2.349e+05 ... 1.868e+06</div><input id='attrs-0a2275b5-f115-4529-bd06-4b061e7d03fc' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-0a2275b5-f115-4529-bd06-4b061e7d03fc' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-c3dea189-c3ad-4750-9245-4fbb6f328d73' class='xr-var-data-in' type='checkbox'><label for='data-c3dea189-c3ad-4750-9245-4fbb6f328d73' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'><dt><span>standard_name :</span></dt><dd>fiducial</dd><dt><span>long_name :</span></dt><dd>Unique fiducial number</dd><dt><span>units :</span></dt><dd>not_defined</dd><dt><span>null_value :</span></dt><dd>not_defined</dd><dt><span>valid_range :</span></dt><dd>[ 234882.1 1869320.7]</dd><dt><span>grid_mapping :</span></dt><dd>spatial_ref</dd></dl></div><div class='xr-var-data'><pre>array([ 234882.1,  234902.1,  234922.1, ..., 1868434.2, 1868454.2,
           1868474.2], shape=(6785,))</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>line</span></div><div class='xr-var-dims'>(index)</div><div class='xr-var-dtype'>int64</div><div class='xr-var-preview xr-preview'>100101 100101 ... 115201 115201</div><input id='attrs-e5979cf4-bb50-46fc-8b31-15015651a562' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-e5979cf4-bb50-46fc-8b31-15015651a562' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-fed8d6e7-a071-4d06-9755-afdb56820c5e' class='xr-var-data-in' type='checkbox'><label for='data-fed8d6e7-a071-4d06-9755-afdb56820c5e' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'><dt><span>standard_name :</span></dt><dd>line</dd><dt><span>long_name :</span></dt><dd>Line number</dd><dt><span>units :</span></dt><dd>not_defined</dd><dt><span>null_value :</span></dt><dd>not_defined</dd><dt><span>valid_range :</span></dt><dd>[100101. 115201.]</dd><dt><span>grid_mapping :</span></dt><dd>spatial_ref</dd></dl></div><div class='xr-var-data'><pre>array([100101, 100101, 100101, ..., 115201, 115201, 115201], shape=(6785,))</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>e_nad83</span></div><div class='xr-var-dims'>(index)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>7.243e+05 7.239e+05 ... 6.604e+05</div><input id='attrs-9e75e8b9-7ec0-4bee-8bba-b90c7a6c3477' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-9e75e8b9-7ec0-4bee-8bba-b90c7a6c3477' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-28af6800-304c-4015-8b64-602ebc3fc858' class='xr-var-data-in' type='checkbox'><label for='data-28af6800-304c-4015-8b64-602ebc3fc858' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'><dt><span>standard_name :</span></dt><dd>easting_nad83</dd><dt><span>long_name :</span></dt><dd>Easting, Wisconsin Transverse Mercator (WTM), North American Datum of 1983 (NAD83)</dd><dt><span>units :</span></dt><dd>meter</dd><dt><span>null_value :</span></dt><dd>not_defined</dd><dt><span>axis :</span></dt><dd>x</dd><dt><span>valid_range :</span></dt><dd>[655123.04631746 732074.68735257]</dd><dt><span>grid_mapping :</span></dt><dd>spatial_ref</dd></dl></div><div class='xr-var-data'><pre>array([724307.20605749, 723880.91270463, 723449.81378067, ...,
           661200.42566018, 660784.61064617, 660377.67411788], shape=(6785,))</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>n_nad83</span></div><div class='xr-var-dims'>(index)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>4.916e+05 4.917e+05 ... 3.866e+05</div><input id='attrs-b9101cd1-b966-4cbf-983a-43fc05052bce' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-b9101cd1-b966-4cbf-983a-43fc05052bce' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-eca88da7-79f5-48cd-8511-245be13f7903' class='xr-var-data-in' type='checkbox'><label for='data-eca88da7-79f5-48cd-8511-245be13f7903' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'><dt><span>standard_name :</span></dt><dd>northing_nad83</dd><dt><span>long_name :</span></dt><dd>Northing, Wisconsin Transverse Mercator (WTM), North American Datum of 1983 (NAD83)</dd><dt><span>units :</span></dt><dd>meter</dd><dt><span>null_value :</span></dt><dd>not_defined</dd><dt><span>axis :</span></dt><dd>y</dd><dt><span>valid_range :</span></dt><dd>[380085.03524677 492697.25185284]</dd><dt><span>grid_mapping :</span></dt><dd>spatial_ref</dd></dl></div><div class='xr-var-data'><pre>array([491569.63134953, 491709.20454699, 491852.56571001, ...,
           386191.43371437, 386361.43421179, 386555.06172562], shape=(6785,))</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>lon</span></div><div class='xr-var-dims'>(index)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>-87.41 -87.42 ... -88.25 -88.25</div><input id='attrs-fc2bfeac-df00-4ef4-a8e8-97a8e29593d2' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-fc2bfeac-df00-4ef4-a8e8-97a8e29593d2' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-164f5991-0ec7-4835-92f7-e1836fe146bb' class='xr-var-data-in' type='checkbox'><label for='data-164f5991-0ec7-4835-92f7-e1836fe146bb' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'><dt><span>standard_name :</span></dt><dd>longitude</dd><dt><span>long_name :</span></dt><dd>Longitude, World Geodetic System of 1984 (WGS84)</dd><dt><span>units :</span></dt><dd>degree</dd><dt><span>null_value :</span></dt><dd>not_defined</dd><dt><span>valid_range :</span></dt><dd>[-88.31068224 -87.31895983]</dd><dt><span>grid_mapping :</span></dt><dd>spatial_ref</dd></dl></div><div class='xr-var-data'><pre>array([-87.41369744, -87.41903223, -87.42442654, ..., -88.24074896,
           -88.24588231, -88.25089915], shape=(6785,))</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>lat</span></div><div class='xr-var-dims'>(index)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>44.87 44.87 44.87 ... 43.94 43.94</div><input id='attrs-9f316e58-ac41-4ab0-a595-aedc05a50274' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-9f316e58-ac41-4ab0-a595-aedc05a50274' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-b7412080-489b-4aa9-b30a-3d2458249456' class='xr-var-data-in' type='checkbox'><label for='data-b7412080-489b-4aa9-b30a-3d2458249456' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'><dt><span>standard_name :</span></dt><dd>latitude</dd><dt><span>long_name :</span></dt><dd>Latitude, World Geodetic System of 1984 (WGS84)</dd><dt><span>units :</span></dt><dd>degree</dd><dt><span>null_value :</span></dt><dd>not_defined</dd><dt><span>valid_range :</span></dt><dd>[43.87692377 44.87925387]</dd><dt><span>grid_mapping :</span></dt><dd>spatial_ref</dd></dl></div><div class='xr-var-data'><pre>array([44.86825562, 44.86963284, 44.87104525, ..., 43.93530275,
           43.93691228, 43.93873252], shape=(6785,))</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>alt</span></div><div class='xr-var-dims'>(index)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>276.3 270.1 274.2 ... 320.0 331.7</div><input id='attrs-af15b017-2ff3-4935-bf58-73180e5f4b51' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-af15b017-2ff3-4935-bf58-73180e5f4b51' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-6c2ca003-39bd-4e57-856b-849b8bbe73d6' class='xr-var-data-in' type='checkbox'><label for='data-6c2ca003-39bd-4e57-856b-849b8bbe73d6' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'><dt><span>standard_name :</span></dt><dd>altitude</dd><dt><span>long_name :</span></dt><dd>DGPS instrument altitude</dd><dt><span>units :</span></dt><dd>meter</dd><dt><span>null_value :</span></dt><dd>not_defined</dd><dt><span>valid_range :</span></dt><dd>[216.91549347 414.04403623]</dd><dt><span>grid_mapping :</span></dt><dd>spatial_ref</dd></dl></div><div class='xr-var-data'><pre>array([276.32180917, 270.07647878, 274.22084766, ..., 311.8       ,
           320.        , 331.7       ], shape=(6785,))</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>height</span></div><div class='xr-var-dims'>(index)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>99.5 52.77 42.67 ... 38.6 43.6 42.9</div><input id='attrs-724fd380-775c-4f21-8225-e72a2c2d7ed7' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-724fd380-775c-4f21-8225-e72a2c2d7ed7' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-5589fc2d-eb4a-4d34-9eea-50ed1bc06aea' class='xr-var-data-in' type='checkbox'><label for='data-5589fc2d-eb4a-4d34-9eea-50ed1bc06aea' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'><dt><span>standard_name :</span></dt><dd>instrument_height</dd><dt><span>long_name :</span></dt><dd>Instrument height above ground</dd><dt><span>units :</span></dt><dd>meter</dd><dt><span>null_value :</span></dt><dd>not_defined</dd><dt><span>valid_range :</span></dt><dd>[ 19.32837783 142.95900842]</dd><dt><span>grid_mapping :</span></dt><dd>spatial_ref</dd></dl></div><div class='xr-var-data'><pre>array([99.50184743, 52.77125617, 42.66863635, ..., 38.6       ,
           43.6       , 42.9       ], shape=(6785,))</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>dem</span></div><div class='xr-var-dims'>(index)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>176.8 217.3 231.6 ... 276.4 288.7</div><input id='attrs-66b97331-646a-4f2c-87ff-ba64b300eddf' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-66b97331-646a-4f2c-87ff-ba64b300eddf' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-93465203-28d6-4965-9573-7be6467d073f' class='xr-var-data-in' type='checkbox'><label for='data-93465203-28d6-4965-9573-7be6467d073f' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'><dt><span>standard_name :</span></dt><dd>dem</dd><dt><span>long_name :</span></dt><dd>Digital elevation model</dd><dt><span>units :</span></dt><dd>meter</dd><dt><span>null_value :</span></dt><dd>not_defined</dd><dt><span>axis :</span></dt><dd>Z</dd><dt><span>positive :</span></dt><dd>up</dd><dt><span>datum :</span></dt><dd>North American Vertical Datum of 1988 (NAVD88)</dd><dt><span>valid_range :</span></dt><dd>[172.52357302 354.1462611 ]</dd><dt><span>grid_mapping :</span></dt><dd>spatial_ref</dd></dl></div><div class='xr-var-data'><pre>array([176.81996173, 217.30522261, 231.55221132, ..., 273.20891296,
           276.40131368, 288.74400026], shape=(6785,))</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>date</span></div><div class='xr-var-dims'>(index)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>&#x27;2021/01/20&#x27; ... &#x27;2021/02/08&#x27;</div><input id='attrs-1bdceb3c-0b4e-40f4-99cf-98d4867a0619' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-1bdceb3c-0b4e-40f4-99cf-98d4867a0619' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-63755761-5d0f-4851-b41f-96ea20baa09b' class='xr-var-data-in' type='checkbox'><label for='data-63755761-5d0f-4851-b41f-96ea20baa09b' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'><dt><span>standard_name :</span></dt><dd>date</dd><dt><span>long_name :</span></dt><dd>Date, yyyy/mm/dd</dd><dt><span>units :</span></dt><dd>not_defined</dd><dt><span>null_value :</span></dt><dd>not_defined</dd><dt><span>grid_mapping :</span></dt><dd>spatial_ref</dd></dl></div><div class='xr-var-data'><pre>array([&#x27;2021/01/20&#x27;, &#x27;2021/01/20&#x27;, &#x27;2021/01/20&#x27;, ..., &#x27;2021/02/08&#x27;,
           &#x27;2021/02/08&#x27;, &#x27;2021/02/08&#x27;], shape=(6785,), dtype=object)</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>time</span></div><div class='xr-var-dims'>(index)</div><div class='xr-var-dtype'>object</div><div class='xr-var-preview xr-preview'>&#x27;17:14:42&#x27; ... &#x27;15:01:14&#x27;</div><input id='attrs-ff867b7a-7999-4dbe-bbfd-edfae258b5ae' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-ff867b7a-7999-4dbe-bbfd-edfae258b5ae' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-a3821d3e-f71d-4aad-ac07-7780d492054f' class='xr-var-data-in' type='checkbox'><label for='data-a3821d3e-f71d-4aad-ac07-7780d492054f' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'><dt><span>standard_name :</span></dt><dd>time_utc</dd><dt><span>long_name :</span></dt><dd>Universal coordinated time (UTC), hh:mm:ss</dd><dt><span>units :</span></dt><dd>not_defined</dd><dt><span>null_value :</span></dt><dd>not_defined</dd><dt><span>grid_mapping :</span></dt><dd>spatial_ref</dd></dl></div><div class='xr-var-data'><pre>array([&#x27;17:14:42&#x27;, &#x27;17:15:02&#x27;, &#x27;17:15:22&#x27;, ..., &#x27;15:00:34&#x27;, &#x27;15:00:54&#x27;,
           &#x27;15:01:14&#x27;], shape=(6785,), dtype=object)</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>base_mag</span></div><div class='xr-var-dims'>(index)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>-1e+04 -1e+04 ... -1e+04 -1e+04</div><input id='attrs-fa1f830f-6b17-44a5-bab2-6ad9987d88b6' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-fa1f830f-6b17-44a5-bab2-6ad9987d88b6' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-4dcf99f8-dc07-4a97-aad2-d9707993d9f9' class='xr-var-data-in' type='checkbox'><label for='data-4dcf99f8-dc07-4a97-aad2-d9707993d9f9' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'><dt><span>standard_name :</span></dt><dd>base_magnetometer</dd><dt><span>long_name :</span></dt><dd>Raw magnetic base station data</dd><dt><span>units :</span></dt><dd>nanoTesla</dd><dt><span>null_value :</span></dt><dd>-9999.99</dd><dt><span>valid_range :</span></dt><dd>[54184.75555939 54540.91684654]</dd><dt><span>grid_mapping :</span></dt><dd>spatial_ref</dd></dl></div><div class='xr-var-data'><pre>array([-9999.99, -9999.99, -9999.99, ..., -9999.99, -9999.99, -9999.99],
          shape=(6785,))</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>diurnal</span></div><div class='xr-var-dims'>(index)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>-10.18 -10.22 ... 1.363 1.312</div><input id='attrs-e51332fb-bdec-4b4c-b761-7fcdcfb058e2' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-e51332fb-bdec-4b4c-b761-7fcdcfb058e2' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-e3612673-81de-48ef-a73f-cf9c259b81ad' class='xr-var-data-in' type='checkbox'><label for='data-e3612673-81de-48ef-a73f-cf9c259b81ad' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'><dt><span>standard_name :</span></dt><dd>magnetic_diurnal</dd><dt><span>long_name :</span></dt><dd>Magnetic base station diurnal variation</dd><dt><span>units :</span></dt><dd>nanoTesla</dd><dt><span>null_value :</span></dt><dd>not_defined</dd><dt><span>valid_range :</span></dt><dd>[-15.8048103   10.85530477]</dd><dt><span>grid_mapping :</span></dt><dd>spatial_ref</dd></dl></div><div class='xr-var-data'><pre>array([-10.17806224, -10.22429797, -10.22322891, ...,   1.31899733,
             1.36302559,   1.3124682 ], shape=(6785,))</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>mag_filt</span></div><div class='xr-var-dims'>(index)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>5.481e+04 5.481e+04 ... 5.413e+04</div><input id='attrs-e50c63d2-d5e9-4285-b599-0c07f42dc203' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-e50c63d2-d5e9-4285-b599-0c07f42dc203' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-b7e1d746-eb9a-40e5-b158-ad19b5df41e1' class='xr-var-data-in' type='checkbox'><label for='data-b7e1d746-eb9a-40e5-b158-ad19b5df41e1' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'><dt><span>standard_name :</span></dt><dd>total_magnetic_intensity_filtered</dd><dt><span>long_name :</span></dt><dd>Filtered total magnetic intensity data</dd><dt><span>units :</span></dt><dd>nanoTesla</dd><dt><span>null_value :</span></dt><dd>not_defined</dd><dt><span>valid_range :</span></dt><dd>[53748.78052716 55382.3731643 ]</dd><dt><span>grid_mapping :</span></dt><dd>spatial_ref</dd></dl></div><div class='xr-var-data'><pre>array([54810.74082178, 54811.7314644 , 54799.12595733, ...,
           54126.9316965 , 54125.81827479, 54130.6798889 ], shape=(6785,))</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>mag_raw</span></div><div class='xr-var-dims'>(index)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>5.481e+04 5.481e+04 ... 5.413e+04</div><input id='attrs-1a8fef1c-8c7a-42d3-82b5-f6f702bb03fb' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-1a8fef1c-8c7a-42d3-82b5-f6f702bb03fb' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-0757ee40-c2a8-4bbe-9be7-bc670cfb2f9a' class='xr-var-data-in' type='checkbox'><label for='data-0757ee40-c2a8-4bbe-9be7-bc670cfb2f9a' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'><dt><span>standard_name :</span></dt><dd>total_magnetic_intensity_raw</dd><dt><span>long_name :</span></dt><dd>Raw total magnetic intensity data</dd><dt><span>units :</span></dt><dd>nanoTesla</dd><dt><span>null_value :</span></dt><dd>not_defined</dd><dt><span>valid_range :</span></dt><dd>[53748.69003127 55382.36268256]</dd><dt><span>grid_mapping :</span></dt><dd>spatial_ref</dd></dl></div><div class='xr-var-data'><pre>array([54810.79920632, 54811.68274571, 54799.1318    , ...,
           54126.88075488, 54125.79409894, 54130.7198    ], shape=(6785,))</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>tmi</span></div><div class='xr-var-dims'>(index)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>5.482e+04 5.482e+04 ... 5.413e+04</div><input id='attrs-5fe65ba7-9214-47e3-84f8-b1867a154e22' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-5fe65ba7-9214-47e3-84f8-b1867a154e22' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-d4c72a9a-2b81-4367-852a-31d1dc03a07a' class='xr-var-data-in' type='checkbox'><label for='data-d4c72a9a-2b81-4367-852a-31d1dc03a07a' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'><dt><span>standard_name :</span></dt><dd>total_magnetic_intensity</dd><dt><span>long_name :</span></dt><dd>Diurnally corrected filtered total magnetic intensity</dd><dt><span>units :</span></dt><dd>nanoTesla</dd><dt><span>null_value :</span></dt><dd>not_defined</dd><dt><span>valid_range :</span></dt><dd>[53747.01299979 55391.25656274]</dd><dt><span>grid_mapping :</span></dt><dd>spatial_ref</dd></dl></div><div class='xr-var-data'><pre>array([54820.91888403, 54821.95576237, 54809.34918625, ...,
           54125.61269917, 54124.4552492 , 54129.36742069], shape=(6785,))</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>rmf</span></div><div class='xr-var-dims'>(index)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>210.6 210.6 197.3 ... -124.5 -120.3</div><input id='attrs-a7ff1631-a560-4676-806e-1d2387c44bea' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-a7ff1631-a560-4676-806e-1d2387c44bea' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-ccc19c6a-9190-4462-b48c-bea6ef655fa3' class='xr-var-data-in' type='checkbox'><label for='data-ccc19c6a-9190-4462-b48c-bea6ef655fa3' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'><dt><span>standard_name :</span></dt><dd>residual_magnetic_field</dd><dt><span>long_name :</span></dt><dd>Residual magnetic field, IGRF corrected based on 2015 model</dd><dt><span>units :</span></dt><dd>nanoTesla</dd><dt><span>null_value :</span></dt><dd>not_defined</dd><dt><span>valid_range :</span></dt><dd>[-477.06537569  810.79350952]</dd><dt><span>grid_mapping :</span></dt><dd>spatial_ref</dd></dl></div><div class='xr-var-data'><pre>array([ 210.59657846,  210.6424326 ,  197.31952694, ..., -122.69013946,
           -124.51264653, -120.25329335], shape=(6785,))</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>igrf</span></div><div class='xr-var-dims'>(index)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>5.461e+04 5.461e+04 ... 5.425e+04</div><input id='attrs-b3df95ff-9fba-4b98-bcf8-7950053dc6f3' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-b3df95ff-9fba-4b98-bcf8-7950053dc6f3' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-38a6526a-9714-4f71-8790-48e325850f74' class='xr-var-data-in' type='checkbox'><label for='data-38a6526a-9714-4f71-8790-48e325850f74' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'><dt><span>standard_name :</span></dt><dd>magnetic_igrf_model</dd><dt><span>long_name :</span></dt><dd>Magnetic IGRF value from 2015 model</dd><dt><span>units :</span></dt><dd>nanoTesla</dd><dt><span>null_value :</span></dt><dd>not_defined</dd><dt><span>valid_range :</span></dt><dd>[54214.68388696 54617.76946961]</dd><dt><span>grid_mapping :</span></dt><dd>spatial_ref</dd></dl></div><div class='xr-var-data'><pre>array([54610.32230557, 54611.31332977, 54612.02965931, ...,
           54248.30283863, 54248.96789573, 54249.62071404], shape=(6785,))</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>inc</span></div><div class='xr-var-dims'>(index)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>71.13 71.13 71.13 ... 70.48 70.48</div><input id='attrs-a532c4d3-0f2e-4141-8c8c-41c1301c21bf' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-a532c4d3-0f2e-4141-8c8c-41c1301c21bf' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-3ab46132-c7b2-4531-9e1a-42ac0bc8ddda' class='xr-var-data-in' type='checkbox'><label for='data-3ab46132-c7b2-4531-9e1a-42ac0bc8ddda' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'><dt><span>standard_name :</span></dt><dd>inclination</dd><dt><span>long_name :</span></dt><dd>IGRF inclination</dd><dt><span>units :</span></dt><dd>degree</dd><dt><span>null_value :</span></dt><dd>not_defined</dd><dt><span>valid_range :</span></dt><dd>[70.428085   71.13609905]</dd><dt><span>grid_mapping :</span></dt><dd>spatial_ref</dd></dl></div><div class='xr-var-data'><pre>array([71.12617307, 71.12744956, 71.1287454 , ..., 70.47968109,
           70.48106373, 70.48259329], shape=(6785,))</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>dec</span></div><div class='xr-var-dims'>(index)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>-4.796 -4.792 ... -3.975 -3.972</div><input id='attrs-ae6cdf1d-58c8-430f-a5af-60c4600d5a89' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-ae6cdf1d-58c8-430f-a5af-60c4600d5a89' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-bd13d30b-6475-4670-afa9-1855de4a487a' class='xr-var-data-in' type='checkbox'><label for='data-bd13d30b-6475-4670-afa9-1855de4a487a' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'><dt><span>standard_name :</span></dt><dd>decliniation</dd><dt><span>long_name :</span></dt><dd>IGRF declination</dd><dt><span>units :</span></dt><dd>degree</dd><dt><span>null_value :</span></dt><dd>not_defined</dd><dt><span>valid_range :</span></dt><dd>[-4.8578344 -3.9487948]</dd><dt><span>grid_mapping :</span></dt><dd>spatial_ref</dd></dl></div><div class='xr-var-data'><pre>array([-4.79558025, -4.79154367, -4.78745496, ..., -3.97909162,
           -3.97524359, -3.97151876], shape=(6785,))</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-c15d5253-3e2b-4696-9e16-730561768470' class='xr-section-summary-in' type='checkbox'  ><label for='section-c15d5253-3e2b-4696-9e16-730561768470' class='xr-section-summary' >Attributes: <span>(10)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><dl class='xr-attrs'><dt><span>uuid :</span></dt><dd>3a98c551-ee48-4202-af0e-b86756105ef8</dd><dt><span>content :</span></dt><dd>raw data</dd><dt><span>comment :</span></dt><dd>Contains mag data</dd><dt><span>type :</span></dt><dd>data</dd><dt><span>structure :</span></dt><dd>tabular</dd><dt><span>mode :</span></dt><dd>airborne</dd><dt><span>method :</span></dt><dd>magnetic</dd><dt><span>submethod :</span></dt><dd>total field</dd><dt><span>instrument :</span></dt><dd>cesium vapour</dd><dt><span>property :</span></dt><dd>magnetic susceptibility</dd></dl></div></li></ul></div></div>
    </div>
    <br />
    <br />

.. GENERATED FROM PYTHON SOURCE LINES 50-52

1 - Gridded Data -
Import a tif of gridded mag data.

.. GENERATED FROM PYTHON SOURCE LINES 52-57

.. code-block:: Python

    d_supp1 = join(data_path, 'WI_Magnetics_grids_md.yml')

    # Add the raw AEM data as a tabular dataset
    data_container.gs.add(key='grids', metadata_file=d_supp1)






.. raw:: html

    <div class="output_subarea output_html rendered_html output_result">
    <div><svg style="position: absolute; width: 0; height: 0; overflow: hidden">
    <defs>
    <symbol id="icon-database" viewBox="0 0 32 32">
    <path d="M16 0c-8.837 0-16 2.239-16 5v4c0 2.761 7.163 5 16 5s16-2.239 16-5v-4c0-2.761-7.163-5-16-5z"></path>
    <path d="M16 17c-8.837 0-16-2.239-16-5v6c0 2.761 7.163 5 16 5s16-2.239 16-5v-6c0 2.761-7.163 5-16 5z"></path>
    <path d="M16 26c-8.837 0-16-2.239-16-5v6c0 2.761 7.163 5 16 5s16-2.239 16-5v-6c0 2.761-7.163 5-16 5z"></path>
    </symbol>
    <symbol id="icon-file-text2" viewBox="0 0 32 32">
    <path d="M28.681 7.159c-0.694-0.947-1.662-2.053-2.724-3.116s-2.169-2.030-3.116-2.724c-1.612-1.182-2.393-1.319-2.841-1.319h-15.5c-1.378 0-2.5 1.121-2.5 2.5v27c0 1.378 1.122 2.5 2.5 2.5h23c1.378 0 2.5-1.122 2.5-2.5v-19.5c0-0.448-0.137-1.23-1.319-2.841zM24.543 5.457c0.959 0.959 1.712 1.825 2.268 2.543h-4.811v-4.811c0.718 0.556 1.584 1.309 2.543 2.268zM28 29.5c0 0.271-0.229 0.5-0.5 0.5h-23c-0.271 0-0.5-0.229-0.5-0.5v-27c0-0.271 0.229-0.5 0.5-0.5 0 0 15.499-0 15.5 0v7c0 0.552 0.448 1 1 1h7v19.5z"></path>
    <path d="M23 26h-14c-0.552 0-1-0.448-1-1s0.448-1 1-1h14c0.552 0 1 0.448 1 1s-0.448 1-1 1z"></path>
    <path d="M23 22h-14c-0.552 0-1-0.448-1-1s0.448-1 1-1h14c0.552 0 1 0.448 1 1s-0.448 1-1 1z"></path>
    <path d="M23 18h-14c-0.552 0-1-0.448-1-1s0.448-1 1-1h14c0.552 0 1 0.448 1 1s-0.448 1-1 1z"></path>
    </symbol>
    </defs>
    </svg>
    <style>/* CSS stylesheet for displaying xarray objects in notebooks */

    :root {
      --xr-font-color0: var(
        --jp-content-font-color0,
        var(--pst-color-text-base rgba(0, 0, 0, 1))
      );
      --xr-font-color2: var(
        --jp-content-font-color2,
        var(--pst-color-text-base, rgba(0, 0, 0, 0.54))
      );
      --xr-font-color3: var(
        --jp-content-font-color3,
        var(--pst-color-text-base, rgba(0, 0, 0, 0.38))
      );
      --xr-border-color: var(
        --jp-border-color2,
        hsl(from var(--pst-color-on-background, white) h s calc(l - 10))
      );
      --xr-disabled-color: var(
        --jp-layout-color3,
        hsl(from var(--pst-color-on-background, white) h s calc(l - 40))
      );
      --xr-background-color: var(
        --jp-layout-color0,
        var(--pst-color-on-background, white)
      );
      --xr-background-color-row-even: var(
        --jp-layout-color1,
        hsl(from var(--pst-color-on-background, white) h s calc(l - 5))
      );
      --xr-background-color-row-odd: var(
        --jp-layout-color2,
        hsl(from var(--pst-color-on-background, white) h s calc(l - 15))
      );
    }

    html[theme="dark"],
    html[data-theme="dark"],
    body[data-theme="dark"],
    body.vscode-dark {
      --xr-font-color0: var(
        --jp-content-font-color0,
        var(--pst-color-text-base, rgba(255, 255, 255, 1))
      );
      --xr-font-color2: var(
        --jp-content-font-color2,
        var(--pst-color-text-base, rgba(255, 255, 255, 0.54))
      );
      --xr-font-color3: var(
        --jp-content-font-color3,
        var(--pst-color-text-base, rgba(255, 255, 255, 0.38))
      );
      --xr-border-color: var(
        --jp-border-color2,
        hsl(from var(--pst-color-on-background, #111111) h s calc(l + 10))
      );
      --xr-disabled-color: var(
        --jp-layout-color3,
        hsl(from var(--pst-color-on-background, #111111) h s calc(l + 40))
      );
      --xr-background-color: var(
        --jp-layout-color0,
        var(--pst-color-on-background, #111111)
      );
      --xr-background-color-row-even: var(
        --jp-layout-color1,
        hsl(from var(--pst-color-on-background, #111111) h s calc(l + 5))
      );
      --xr-background-color-row-odd: var(
        --jp-layout-color2,
        hsl(from var(--pst-color-on-background, #111111) h s calc(l + 15))
      );
    }

    .xr-wrap {
      display: block !important;
      min-width: 300px;
      max-width: 700px;
      line-height: 1.6;
    }

    .xr-text-repr-fallback {
      /* fallback to plain text repr when CSS is not injected (untrusted notebook) */
      display: none;
    }

    .xr-header {
      padding-top: 6px;
      padding-bottom: 6px;
      margin-bottom: 4px;
      border-bottom: solid 1px var(--xr-border-color);
    }

    .xr-header > div,
    .xr-header > ul {
      display: inline;
      margin-top: 0;
      margin-bottom: 0;
    }

    .xr-obj-type,
    .xr-obj-name,
    .xr-group-name {
      margin-left: 2px;
      margin-right: 10px;
    }

    .xr-group-name::before {
      content: "📁";
      padding-right: 0.3em;
    }

    .xr-group-name,
    .xr-obj-type {
      color: var(--xr-font-color2);
    }

    .xr-sections {
      padding-left: 0 !important;
      display: grid;
      grid-template-columns: 150px auto auto 1fr 0 20px 0 20px;
      margin-block-start: 0;
      margin-block-end: 0;
    }

    .xr-section-item {
      display: contents;
    }

    .xr-section-item input {
      display: inline-block;
      opacity: 0;
      height: 0;
      margin: 0;
    }

    .xr-section-item input + label {
      color: var(--xr-disabled-color);
      border: 2px solid transparent !important;
    }

    .xr-section-item input:enabled + label {
      cursor: pointer;
      color: var(--xr-font-color2);
    }

    .xr-section-item input:focus + label {
      border: 2px solid var(--xr-font-color0) !important;
    }

    .xr-section-item input:enabled + label:hover {
      color: var(--xr-font-color0);
    }

    .xr-section-summary {
      grid-column: 1;
      color: var(--xr-font-color2);
      font-weight: 500;
    }

    .xr-section-summary > span {
      display: inline-block;
      padding-left: 0.5em;
    }

    .xr-section-summary-in:disabled + label {
      color: var(--xr-font-color2);
    }

    .xr-section-summary-in + label:before {
      display: inline-block;
      content: "►";
      font-size: 11px;
      width: 15px;
      text-align: center;
    }

    .xr-section-summary-in:disabled + label:before {
      color: var(--xr-disabled-color);
    }

    .xr-section-summary-in:checked + label:before {
      content: "▼";
    }

    .xr-section-summary-in:checked + label > span {
      display: none;
    }

    .xr-section-summary,
    .xr-section-inline-details {
      padding-top: 4px;
    }

    .xr-section-inline-details {
      grid-column: 2 / -1;
    }

    .xr-section-details {
      display: none;
      grid-column: 1 / -1;
      margin-top: 4px;
      margin-bottom: 5px;
    }

    .xr-section-summary-in:checked ~ .xr-section-details {
      display: contents;
    }

    .xr-group-box {
      display: inline-grid;
      grid-template-columns: 0px 20px auto;
      width: 100%;
    }

    .xr-group-box-vline {
      grid-column-start: 1;
      border-right: 0.2em solid;
      border-color: var(--xr-border-color);
      width: 0px;
    }

    .xr-group-box-hline {
      grid-column-start: 2;
      grid-row-start: 1;
      height: 1em;
      width: 20px;
      border-bottom: 0.2em solid;
      border-color: var(--xr-border-color);
    }

    .xr-group-box-contents {
      grid-column-start: 3;
    }

    .xr-array-wrap {
      grid-column: 1 / -1;
      display: grid;
      grid-template-columns: 20px auto;
    }

    .xr-array-wrap > label {
      grid-column: 1;
      vertical-align: top;
    }

    .xr-preview {
      color: var(--xr-font-color3);
    }

    .xr-array-preview,
    .xr-array-data {
      padding: 0 5px !important;
      grid-column: 2;
    }

    .xr-array-data,
    .xr-array-in:checked ~ .xr-array-preview {
      display: none;
    }

    .xr-array-in:checked ~ .xr-array-data,
    .xr-array-preview {
      display: inline-block;
    }

    .xr-dim-list {
      display: inline-block !important;
      list-style: none;
      padding: 0 !important;
      margin: 0;
    }

    .xr-dim-list li {
      display: inline-block;
      padding: 0;
      margin: 0;
    }

    .xr-dim-list:before {
      content: "(";
    }

    .xr-dim-list:after {
      content: ")";
    }

    .xr-dim-list li:not(:last-child):after {
      content: ",";
      padding-right: 5px;
    }

    .xr-has-index {
      font-weight: bold;
    }

    .xr-var-list,
    .xr-var-item {
      display: contents;
    }

    .xr-var-item > div,
    .xr-var-item label,
    .xr-var-item > .xr-var-name span {
      background-color: var(--xr-background-color-row-even);
      border-color: var(--xr-background-color-row-odd);
      margin-bottom: 0;
      padding-top: 2px;
    }

    .xr-var-item > .xr-var-name:hover span {
      padding-right: 5px;
    }

    .xr-var-list > li:nth-child(odd) > div,
    .xr-var-list > li:nth-child(odd) > label,
    .xr-var-list > li:nth-child(odd) > .xr-var-name span {
      background-color: var(--xr-background-color-row-odd);
      border-color: var(--xr-background-color-row-even);
    }

    .xr-var-name {
      grid-column: 1;
    }

    .xr-var-dims {
      grid-column: 2;
    }

    .xr-var-dtype {
      grid-column: 3;
      text-align: right;
      color: var(--xr-font-color2);
    }

    .xr-var-preview {
      grid-column: 4;
    }

    .xr-index-preview {
      grid-column: 2 / 5;
      color: var(--xr-font-color2);
    }

    .xr-var-name,
    .xr-var-dims,
    .xr-var-dtype,
    .xr-preview,
    .xr-attrs dt {
      white-space: nowrap;
      overflow: hidden;
      text-overflow: ellipsis;
      padding-right: 10px;
    }

    .xr-var-name:hover,
    .xr-var-dims:hover,
    .xr-var-dtype:hover,
    .xr-attrs dt:hover {
      overflow: visible;
      width: auto;
      z-index: 1;
    }

    .xr-var-attrs,
    .xr-var-data,
    .xr-index-data {
      display: none;
      border-top: 2px dotted var(--xr-background-color);
      padding-bottom: 20px !important;
      padding-top: 10px !important;
    }

    .xr-var-attrs-in + label,
    .xr-var-data-in + label,
    .xr-index-data-in + label {
      padding: 0 1px;
    }

    .xr-var-attrs-in:checked ~ .xr-var-attrs,
    .xr-var-data-in:checked ~ .xr-var-data,
    .xr-index-data-in:checked ~ .xr-index-data {
      display: block;
    }

    .xr-var-data > table {
      float: right;
    }

    .xr-var-data > pre,
    .xr-index-data > pre,
    .xr-var-data > table > tbody > tr {
      background-color: transparent !important;
    }

    .xr-var-name span,
    .xr-var-data,
    .xr-index-name div,
    .xr-index-data,
    .xr-attrs {
      padding-left: 25px !important;
    }

    .xr-attrs,
    .xr-var-attrs,
    .xr-var-data,
    .xr-index-data {
      grid-column: 1 / -1;
    }

    dl.xr-attrs {
      padding: 0;
      margin: 0;
      display: grid;
      grid-template-columns: 125px auto;
    }

    .xr-attrs dt,
    .xr-attrs dd {
      padding: 0;
      margin: 0;
      float: left;
      padding-right: 10px;
      width: auto;
    }

    .xr-attrs dt {
      font-weight: normal;
      grid-column: 1;
    }

    .xr-attrs dt:hover span {
      display: inline-block;
      background: var(--xr-background-color);
      padding-right: 10px;
    }

    .xr-attrs dd {
      grid-column: 2;
      white-space: pre-wrap;
      word-break: break-all;
    }

    .xr-icon-database,
    .xr-icon-file-text2,
    .xr-no-icon {
      display: inline-block;
      vertical-align: middle;
      width: 1em;
      height: 1.5em !important;
      stroke-width: 0;
      stroke: currentColor;
      fill: currentColor;
    }

    .xr-var-attrs-in:checked + label > .xr-icon-file-text2,
    .xr-var-data-in:checked + label > .xr-icon-database,
    .xr-index-data-in:checked + label > .xr-icon-database {
      color: var(--xr-font-color0);
      filter: drop-shadow(1px 1px 5px var(--xr-font-color2));
      stroke-width: 0.8px;
    }
    </style><pre class='xr-text-repr-fallback'>&lt;xarray.DataTree &#x27;grids&#x27;&gt;
    Group: /survey/data/grids
        Dimensions:       (x: 799, nv: 2, y: 1155)
        Coordinates:
          * x             (x) float64 6kB 6.551e+05 6.552e+05 ... 7.348e+05 7.349e+05
          * nv            (nv) int64 16B 0 1
          * y             (y) float64 9kB 4.953e+05 4.952e+05 ... 3.8e+05 3.799e+05
            spatial_ref   float64 8B 0.0
        Data variables:
            x_bnds        (x, nv) float64 13kB 6.55e+05 6.551e+05 ... 7.349e+05
            y_bnds        (y, nv) float64 18kB 4.954e+05 4.953e+05 ... 3.8e+05 3.799e+05
            magnetic_tmi  (y, x) float64 7MB nan nan nan nan nan ... nan nan nan nan nan
            magnetic_rmf  (y, x) float64 7MB nan nan nan nan nan ... nan nan nan nan nan
        Attributes:
            uuid:        bdfd33eb-6ead-4e97-aece-f38227ffa937
            content:     gridded magnetic maps
            comment:     This dataset includes AEM-derived estimates of the elevation...
            type:        data
            structure:   raster
            mode:        airborne
            method:      magnetic
            submethod:   total field
            instrument:  cesium vapour
            property:    magnetic</pre><div class='xr-wrap' style='display:none'><div class='xr-header'><div class='xr-obj-type'>xarray.DataTree</div><div class='xr-obj-name'>&#x27;grids&#x27;</div></div><ul class='xr-sections'><li class='xr-section-item'><input id='section-0df9efe0-3bf1-4dff-9af1-63041a436e41' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-0df9efe0-3bf1-4dff-9af1-63041a436e41' class='xr-section-summary'  title='Expand/collapse section'>Dimensions:</label><div class='xr-section-inline-details'><ul class='xr-dim-list'><li><span class='xr-has-index'>x</span>: 799</li><li><span class='xr-has-index'>nv</span>: 2</li><li><span class='xr-has-index'>y</span>: 1155</li></ul></div><div class='xr-section-details'></div></li><li class='xr-section-item'><input id='section-33c11d31-f1e7-4f62-b508-5236f098e64f' class='xr-section-summary-in' type='checkbox'  checked><label for='section-33c11d31-f1e7-4f62-b508-5236f098e64f' class='xr-section-summary' >Coordinates: <span>(4)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'><li class='xr-var-item'><div class='xr-var-name'><span class='xr-has-index'>x</span></div><div class='xr-var-dims'>(x)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>6.551e+05 6.552e+05 ... 7.349e+05</div><input id='attrs-e601f169-692b-408a-b949-ff98a12beb31' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-e601f169-692b-408a-b949-ff98a12beb31' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-bdffad1e-f988-49cd-8669-17d007f503f8' class='xr-var-data-in' type='checkbox'><label for='data-bdffad1e-f988-49cd-8669-17d007f503f8' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'><dt><span>standard_name :</span></dt><dd>projection_x_coordinate</dd><dt><span>long_name :</span></dt><dd>Easting, Wisconsin Transverse Mercator (WTM), North American Datum of 1983 (NAD83)</dd><dt><span>units :</span></dt><dd>meter</dd><dt><span>null_value :</span></dt><dd>not_defined</dd><dt><span>axis :</span></dt><dd>X</dd><dt><span>valid_range :</span></dt><dd>[655072.0482 734872.0482]</dd><dt><span>grid_mapping :</span></dt><dd>spatial_ref</dd><dt><span>bounds :</span></dt><dd>x_bnds</dd></dl></div><div class='xr-var-data'><pre>array([655072.0482, 655172.0482, 655272.0482, ..., 734672.0482, 734772.0482,
           734872.0482], shape=(799,))</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span class='xr-has-index'>nv</span></div><div class='xr-var-dims'>(nv)</div><div class='xr-var-dtype'>int64</div><div class='xr-var-preview xr-preview'>0 1</div><input id='attrs-20d89524-bf52-480b-ab86-b34b3eb62a53' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-20d89524-bf52-480b-ab86-b34b3eb62a53' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-1d0ab3c6-4d1a-45a3-a558-97296b01b30a' class='xr-var-data-in' type='checkbox'><label for='data-1d0ab3c6-4d1a-45a3-a558-97296b01b30a' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'><dt><span>standard_name :</span></dt><dd>nv</dd><dt><span>long_name :</span></dt><dd>Number of vertices for bounding variables</dd><dt><span>units :</span></dt><dd>not_defined</dd><dt><span>null_value :</span></dt><dd>not_defined</dd><dt><span>valid_range :</span></dt><dd>[0. 1.]</dd><dt><span>grid_mapping :</span></dt><dd>spatial_ref</dd></dl></div><div class='xr-var-data'><pre>array([0, 1])</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span class='xr-has-index'>y</span></div><div class='xr-var-dims'>(y)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>4.953e+05 4.952e+05 ... 3.799e+05</div><input id='attrs-5b9850d2-884c-47d8-8fed-1b531944c17d' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-5b9850d2-884c-47d8-8fed-1b531944c17d' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-022d781d-0121-462d-8a45-7127f3ce9dcb' class='xr-var-data-in' type='checkbox'><label for='data-022d781d-0121-462d-8a45-7127f3ce9dcb' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'><dt><span>standard_name :</span></dt><dd>projection_y_coordinate</dd><dt><span>long_name :</span></dt><dd>Northing, Wisconsin Transverse Mercator (WTM), North American Datum of 1983 (NAD83)</dd><dt><span>units :</span></dt><dd>meter</dd><dt><span>null_value :</span></dt><dd>not_defined</dd><dt><span>axis :</span></dt><dd>Y</dd><dt><span>valid_range :</span></dt><dd>[379902.3947 495302.3947]</dd><dt><span>grid_mapping :</span></dt><dd>spatial_ref</dd><dt><span>bounds :</span></dt><dd>y_bnds</dd></dl></div><div class='xr-var-data'><pre>array([495302.3947, 495202.3947, 495102.3947, ..., 380102.3947, 380002.3947,
           379902.3947], shape=(1155,))</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>spatial_ref</span></div><div class='xr-var-dims'>()</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>0.0</div><input id='attrs-0f9df3ba-40fc-4373-8ee1-870aec2cbe9f' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-0f9df3ba-40fc-4373-8ee1-870aec2cbe9f' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-830c4404-1fb9-4a64-a656-40f1fbaf2727' class='xr-var-data-in' type='checkbox'><label for='data-830c4404-1fb9-4a64-a656-40f1fbaf2727' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'><dt><span>crs_wkt :</span></dt><dd>PROJCRS[&quot;NAD83(HARN) / Wisconsin Transverse Mercator&quot;,BASEGEOGCRS[&quot;NAD83(HARN)&quot;,DATUM[&quot;NAD83 (High Accuracy Reference Network)&quot;,ELLIPSOID[&quot;GRS 1980&quot;,6378137,298.257222101,LENGTHUNIT[&quot;metre&quot;,1]]],PRIMEM[&quot;Greenwich&quot;,0,ANGLEUNIT[&quot;degree&quot;,0.0174532925199433]],ID[&quot;EPSG&quot;,4152]],CONVERSION[&quot;Wisconsin Transverse Mercator 83&quot;,METHOD[&quot;Transverse Mercator&quot;,ID[&quot;EPSG&quot;,9807]],PARAMETER[&quot;Latitude of natural origin&quot;,0,ANGLEUNIT[&quot;degree&quot;,0.0174532925199433],ID[&quot;EPSG&quot;,8801]],PARAMETER[&quot;Longitude of natural origin&quot;,-90,ANGLEUNIT[&quot;degree&quot;,0.0174532925199433],ID[&quot;EPSG&quot;,8802]],PARAMETER[&quot;Scale factor at natural origin&quot;,0.9996,SCALEUNIT[&quot;unity&quot;,1],ID[&quot;EPSG&quot;,8805]],PARAMETER[&quot;False easting&quot;,520000,LENGTHUNIT[&quot;metre&quot;,1],ID[&quot;EPSG&quot;,8806]],PARAMETER[&quot;False northing&quot;,-4480000,LENGTHUNIT[&quot;metre&quot;,1],ID[&quot;EPSG&quot;,8807]]],CS[Cartesian,2],AXIS[&quot;easting (X)&quot;,east,ORDER[1],LENGTHUNIT[&quot;metre&quot;,1]],AXIS[&quot;northing (Y)&quot;,north,ORDER[2],LENGTHUNIT[&quot;metre&quot;,1]],USAGE[SCOPE[&quot;State-wide spatial data management.&quot;],AREA[&quot;United States (USA) - Wisconsin.&quot;],BBOX[42.48,-92.89,47.31,-86.25]],ID[&quot;EPSG&quot;,3071]]</dd><dt><span>semi_major_axis :</span></dt><dd>6378137.0</dd><dt><span>semi_minor_axis :</span></dt><dd>6356752.314140356</dd><dt><span>inverse_flattening :</span></dt><dd>298.257222101</dd><dt><span>reference_ellipsoid_name :</span></dt><dd>GRS 1980</dd><dt><span>longitude_of_prime_meridian :</span></dt><dd>0.0</dd><dt><span>prime_meridian_name :</span></dt><dd>Greenwich</dd><dt><span>geographic_crs_name :</span></dt><dd>NAD83(HARN)</dd><dt><span>horizontal_datum_name :</span></dt><dd>NAD83 (High Accuracy Reference Network)</dd><dt><span>projected_crs_name :</span></dt><dd>NAD83(HARN) / Wisconsin Transverse Mercator</dd><dt><span>grid_mapping_name :</span></dt><dd>transverse_mercator</dd><dt><span>latitude_of_projection_origin :</span></dt><dd>0.0</dd><dt><span>longitude_of_central_meridian :</span></dt><dd>-90.0</dd><dt><span>false_easting :</span></dt><dd>520000.0</dd><dt><span>false_northing :</span></dt><dd>-4480000.0</dd><dt><span>scale_factor_at_central_meridian :</span></dt><dd>0.9996</dd><dt><span>authority :</span></dt><dd>EPSG</dd><dt><span>wkid :</span></dt><dd>3071</dd><dt><span>GeoTransform :</span></dt><dd>(655022.0482, 100.0, 0.0, 495352.3947, 0.0, -100.0)</dd></dl></div><div class='xr-var-data'><pre>array(0.)</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-8114ada7-7ee7-49b5-84d0-427d58f2f8fe' class='xr-section-summary-in' type='checkbox'  checked><label for='section-8114ada7-7ee7-49b5-84d0-427d58f2f8fe' class='xr-section-summary' >Data variables: <span>(4)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><ul class='xr-var-list'><li class='xr-var-item'><div class='xr-var-name'><span>x_bnds</span></div><div class='xr-var-dims'>(x, nv)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>6.55e+05 6.551e+05 ... 7.349e+05</div><input id='attrs-d088764f-1a3a-48a8-8f7d-4aef526dda64' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-d088764f-1a3a-48a8-8f7d-4aef526dda64' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-62fd178a-3739-4458-b525-bd6d20599fec' class='xr-var-data-in' type='checkbox'><label for='data-62fd178a-3739-4458-b525-bd6d20599fec' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'><dt><span>standard_name :</span></dt><dd>projection_x_coordinate_bounds</dd><dt><span>long_name :</span></dt><dd>Easting, Wisconsin Transverse Mercator (WTM), North American Datum of 1983 (NAD83) cell boundaries</dd><dt><span>units :</span></dt><dd>meter</dd><dt><span>null_value :</span></dt><dd>not_defined</dd><dt><span>axis :</span></dt><dd>X</dd><dt><span>valid_range :</span></dt><dd>[655022.0482 734922.0482]</dd><dt><span>grid_mapping :</span></dt><dd>spatial_ref</dd></dl></div><div class='xr-var-data'><pre>array([[655022.0482, 655122.0482],
           [655122.0482, 655222.0482],
           [655222.0482, 655322.0482],
           ...,
           [734622.0482, 734722.0482],
           [734722.0482, 734822.0482],
           [734822.0482, 734922.0482]], shape=(799, 2))</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>y_bnds</span></div><div class='xr-var-dims'>(y, nv)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>4.954e+05 4.953e+05 ... 3.799e+05</div><input id='attrs-c8b62d0e-ab0c-45f3-a20f-c307f933e575' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-c8b62d0e-ab0c-45f3-a20f-c307f933e575' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-87d2f922-bea8-4b46-84dc-00a16e10d33e' class='xr-var-data-in' type='checkbox'><label for='data-87d2f922-bea8-4b46-84dc-00a16e10d33e' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'><dt><span>standard_name :</span></dt><dd>projection_y_coordinate_bounds</dd><dt><span>long_name :</span></dt><dd>Northing, Wisconsin Transverse Mercator (WTM), North American Datum of 1983 (NAD83) cell boundaries</dd><dt><span>units :</span></dt><dd>meter</dd><dt><span>null_value :</span></dt><dd>not_defined</dd><dt><span>axis :</span></dt><dd>Y</dd><dt><span>valid_range :</span></dt><dd>[379852.3947 495352.3947]</dd><dt><span>grid_mapping :</span></dt><dd>spatial_ref</dd></dl></div><div class='xr-var-data'><pre>array([[495352.3947, 495252.3947],
           [495252.3947, 495152.3947],
           [495152.3947, 495052.3947],
           ...,
           [380152.3947, 380052.3947],
           [380052.3947, 379952.3947],
           [379952.3947, 379852.3947]], shape=(1155, 2))</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>magnetic_tmi</span></div><div class='xr-var-dims'>(y, x)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>nan nan nan nan ... nan nan nan nan</div><input id='attrs-9e65d9f4-7d07-4cc2-9f31-6ead79417fad' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-9e65d9f4-7d07-4cc2-9f31-6ead79417fad' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-e34cfe36-ccf1-4d34-95e1-a576ea53f8dd' class='xr-var-data-in' type='checkbox'><label for='data-e34cfe36-ccf1-4d34-95e1-a576ea53f8dd' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'><dt><span>standard_name :</span></dt><dd>total_magnetic_intensity</dd><dt><span>long_name :</span></dt><dd>Total magnetic intensity, diurnally corrected and filtered</dd><dt><span>units :</span></dt><dd>nanoTesla</dd><dt><span>null_value :</span></dt><dd>-9999.99</dd><dt><span>valid_range :</span></dt><dd>[53745.6015625  55396.48828125]</dd><dt><span>grid_mapping :</span></dt><dd>spatial_ref</dd></dl></div><div class='xr-var-data'><pre>array([[nan, nan, nan, ..., nan, nan, nan],
           [nan, nan, nan, ..., nan, nan, nan],
           [nan, nan, nan, ..., nan, nan, nan],
           ...,
           [nan, nan, nan, ..., nan, nan, nan],
           [nan, nan, nan, ..., nan, nan, nan],
           [nan, nan, nan, ..., nan, nan, nan]], shape=(1155, 799))</pre></div></li><li class='xr-var-item'><div class='xr-var-name'><span>magnetic_rmf</span></div><div class='xr-var-dims'>(y, x)</div><div class='xr-var-dtype'>float64</div><div class='xr-var-preview xr-preview'>nan nan nan nan ... nan nan nan nan</div><input id='attrs-037e3d75-0258-469c-af54-2420d3841591' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-037e3d75-0258-469c-af54-2420d3841591' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-5d43928d-8069-448a-a1b8-93a6c1381f19' class='xr-var-data-in' type='checkbox'><label for='data-5d43928d-8069-448a-a1b8-93a6c1381f19' title='Show/Hide data repr'><svg class='icon xr-icon-database'><use xlink:href='#icon-database'></use></svg></label><div class='xr-var-attrs'><dl class='xr-attrs'><dt><span>standard_name :</span></dt><dd>residual_magnetic_field</dd><dt><span>long_name :</span></dt><dd>Residual magnetic field, IGRF corrected from 2015 model</dd><dt><span>units :</span></dt><dd>nanoTesla</dd><dt><span>null_value :</span></dt><dd>-9999.99</dd><dt><span>valid_range :</span></dt><dd>[-478.36932373  815.26867676]</dd><dt><span>grid_mapping :</span></dt><dd>spatial_ref</dd></dl></div><div class='xr-var-data'><pre>array([[nan, nan, nan, ..., nan, nan, nan],
           [nan, nan, nan, ..., nan, nan, nan],
           [nan, nan, nan, ..., nan, nan, nan],
           ...,
           [nan, nan, nan, ..., nan, nan, nan],
           [nan, nan, nan, ..., nan, nan, nan],
           [nan, nan, nan, ..., nan, nan, nan]], shape=(1155, 799))</pre></div></li></ul></div></li><li class='xr-section-item'><input id='section-2e8d2346-7091-46f0-aca1-a181275fdb30' class='xr-section-summary-in' type='checkbox'  ><label for='section-2e8d2346-7091-46f0-aca1-a181275fdb30' class='xr-section-summary' >Attributes: <span>(10)</span></label><div class='xr-section-inline-details'></div><div class='xr-section-details'><dl class='xr-attrs'><dt><span>uuid :</span></dt><dd>bdfd33eb-6ead-4e97-aece-f38227ffa937</dd><dt><span>content :</span></dt><dd>gridded magnetic maps</dd><dt><span>comment :</span></dt><dd>This dataset includes AEM-derived estimates of the elevation of the top of bedrock produced by USGS</dd><dt><span>type :</span></dt><dd>data</dd><dt><span>structure :</span></dt><dd>raster</dd><dt><span>mode :</span></dt><dd>airborne</dd><dt><span>method :</span></dt><dd>magnetic</dd><dt><span>submethod :</span></dt><dd>total field</dd><dt><span>instrument :</span></dt><dd>cesium vapour</dd><dt><span>property :</span></dt><dd>magnetic</dd></dl></div></li></ul></div></div>
    </div>
    <br />
    <br />

.. GENERATED FROM PYTHON SOURCE LINES 58-59

Save to NetCDF file

.. GENERATED FROM PYTHON SOURCE LINES 59-62

.. code-block:: Python

    d_out = join(data_path, 'magnetics.nc')
    survey.gs.to_netcdf(d_out)





.. rst-class:: sphx-glr-script-out

 .. code-block:: none

    uuid
    title
    institution
    source
    history
    references
    comment
    summary
    content
    created_by
    conventions
    type
    _FillValue
    contractor_project_number
    contractor
    client
    survey_type
    survey_area_name
    state
    country
    acquisition_start
    acquisition_end
    survey_attributes_units
    coordinates
    _FillValue
    traverse_line_spacing
    traverse_line_direction
    tie_line_spacing
    tie_line_direction
    nominal_terrain_clearance
    final_line_kilometers
    traverse_line_numbers
    repeat_line_numbers
    pre_zero_line_numbers
    post_zero_line_numbers
    coordinates
    _FillValue
    aircraft
    magnetometer
    magnetometer_installation
    radar_altimeter_system
    radar_altimeter_sample_rate
    laser_altimeter_system
    laser_altimeter_sample_rate
    navigation_system
    navigation_sample_rate
    acquisition_system
    coordinates
    _FillValue
    crs_wkt
    semi_major_axis
    semi_minor_axis
    inverse_flattening
    reference_ellipsoid_name
    longitude_of_prime_meridian
    prime_meridian_name
    geographic_crs_name
    horizontal_datum_name
    projected_crs_name
    grid_mapping_name
    latitude_of_projection_origin
    longitude_of_central_meridian
    false_easting
    false_northing
    scale_factor_at_central_meridian
    authority
    wkid
    content
    comment
    type
    _FillValue
    crs_wkt
    semi_major_axis
    semi_minor_axis
    inverse_flattening
    reference_ellipsoid_name
    longitude_of_prime_meridian
    prime_meridian_name
    geographic_crs_name
    horizontal_datum_name
    projected_crs_name
    grid_mapping_name
    latitude_of_projection_origin
    longitude_of_central_meridian
    false_easting
    false_northing
    scale_factor_at_central_meridian
    authority
    wkid
    uuid
    content
    comment
    type
    structure
    mode
    method
    submethod
    instrument
    property
    _FillValue
    standard_name
    long_name
    units
    null_value
    valid_range
    grid_mapping
    coordinates
    standard_name
    long_name
    units
    null_value
    valid_range
    grid_mapping
    coordinates
    _FillValue
    standard_name
    long_name
    units
    null_value
    axis
    valid_range
    grid_mapping
    coordinates
    _FillValue
    standard_name
    long_name
    units
    null_value
    axis
    valid_range
    grid_mapping
    coordinates
    _FillValue
    standard_name
    long_name
    units
    null_value
    valid_range
    grid_mapping
    coordinates
    _FillValue
    standard_name
    long_name
    units
    null_value
    valid_range
    grid_mapping
    coordinates
    _FillValue
    standard_name
    long_name
    units
    null_value
    valid_range
    grid_mapping
    coordinates
    _FillValue
    standard_name
    long_name
    units
    null_value
    valid_range
    grid_mapping
    coordinates
    _FillValue
    standard_name
    long_name
    units
    null_value
    axis
    positive
    datum
    valid_range
    grid_mapping
    coordinates
    standard_name
    long_name
    units
    null_value
    grid_mapping
    coordinates
    standard_name
    long_name
    units
    null_value
    grid_mapping
    coordinates
    _FillValue
    standard_name
    long_name
    units
    null_value
    valid_range
    grid_mapping
    coordinates
    _FillValue
    standard_name
    long_name
    units
    null_value
    valid_range
    grid_mapping
    coordinates
    _FillValue
    standard_name
    long_name
    units
    null_value
    valid_range
    grid_mapping
    coordinates
    _FillValue
    standard_name
    long_name
    units
    null_value
    valid_range
    grid_mapping
    coordinates
    _FillValue
    standard_name
    long_name
    units
    null_value
    valid_range
    grid_mapping
    coordinates
    _FillValue
    standard_name
    long_name
    units
    null_value
    valid_range
    grid_mapping
    coordinates
    _FillValue
    standard_name
    long_name
    units
    null_value
    valid_range
    grid_mapping
    coordinates
    _FillValue
    standard_name
    long_name
    units
    null_value
    valid_range
    grid_mapping
    coordinates
    _FillValue
    standard_name
    long_name
    units
    null_value
    valid_range
    grid_mapping
    coordinates
    _FillValue
    crs_wkt
    semi_major_axis
    semi_minor_axis
    inverse_flattening
    reference_ellipsoid_name
    longitude_of_prime_meridian
    prime_meridian_name
    geographic_crs_name
    horizontal_datum_name
    projected_crs_name
    grid_mapping_name
    latitude_of_projection_origin
    longitude_of_central_meridian
    false_easting
    false_northing
    scale_factor_at_central_meridian
    authority
    wkid
    standard_name
    long_name
    units
    null_value
    valid_range
    grid_mapping
    _FillValue
    standard_name
    long_name
    units
    null_value
    axis
    valid_range
    grid_mapping
    _FillValue
    standard_name
    long_name
    units
    null_value
    axis
    valid_range
    grid_mapping
    _FillValue
    standard_name
    long_name
    units
    null_value
    axis
    positive
    datum
    valid_range
    grid_mapping
    uuid
    content
    comment
    type
    structure
    mode
    method
    submethod
    instrument
    property
    _FillValue
    standard_name
    long_name
    null_value
    valid_range
    grid_mapping
    coordinates
    _FillValue
    standard_name
    long_name
    null_value
    valid_range
    grid_mapping
    coordinates
    _FillValue
    standard_name
    long_name
    units
    null_value
    valid_range
    grid_mapping
    coordinates
    _FillValue
    standard_name
    long_name
    units
    null_value
    valid_range
    grid_mapping
    coordinates
    _FillValue
    crs_wkt
    semi_major_axis
    semi_minor_axis
    inverse_flattening
    reference_ellipsoid_name
    longitude_of_prime_meridian
    prime_meridian_name
    geographic_crs_name
    horizontal_datum_name
    projected_crs_name
    grid_mapping_name
    latitude_of_projection_origin
    longitude_of_central_meridian
    false_easting
    false_northing
    scale_factor_at_central_meridian
    authority
    wkid
    GeoTransform
    _FillValue
    standard_name
    long_name
    units
    null_value
    axis
    valid_range
    grid_mapping
    bounds
    standard_name
    long_name
    units
    null_value
    valid_range
    grid_mapping
    _FillValue
    standard_name
    long_name
    units
    null_value
    axis
    valid_range
    grid_mapping
    bounds
    type
    mode
    method
    submethod
    instrument
    uuid
    name
    _FillValue
    grid_mapping
    _FillValue
    grid_mapping




.. GENERATED FROM PYTHON SOURCE LINES 63-64

Reading back in

.. GENERATED FROM PYTHON SOURCE LINES 64-68

.. code-block:: Python

    new_survey = gspy.open_datatree(d_out)['survey']

    print(new_survey)





.. rst-class:: sphx-glr-script-out

 .. code-block:: none

    <xarray.DataTree 'survey'>
    Group: /survey
    │   Dimensions:                 ()
    │   Coordinates:
    │       spatial_ref             float64 8B ...
    │   Data variables:
    │       survey_information      float64 8B ...
    │       flightline_information  float64 8B ...
    │       survey_equipment        float64 8B ...
    │   Attributes:
    │       uuid:         a60011af-6361-461f-88a3-0747712a3427
    │       title:        Magnetic data from SkyTEM Airborne Electromagnetic (AEM) Su...
    │       institution:  USGS Geology, Geophysics, and Geochemistry Science Center
    │       source:       SkyTEM raw data, USGS processed data
    │       history:      (1) Data acquisition 01/2021 - 02/2021 by SkyTEM Canada Inc...
    │       references:   Minsley, Burke J., B.R. Bloss, D.J. Hart, W. Fitzpatrick, M...
    │       comment:      This dataset includes minimally processed (raw) AEM and raw...
    │       summary:      Magnetic survey data were collected during January and Febr...
    │       content:      Data
    │       created_by:   gspy==2.0.0
    │       conventions:  CF-1.8, GS-2.0
    │       type:         survey
    └── Group: /survey/data
        │   Dimensions:      ()
        │   Data variables:
        │       spatial_ref  float64 8B ...
        │   Attributes:
        │       content:  raw and gridded data
        │       comment:  This is a test
        │       type:     container
        ├── Group: /survey/data/raw_data
        │   │   Dimensions:      (index: 6785)
        │   │   Coordinates:
        │   │     * index        (index) int32 27kB 0 1 2 3 4 5 ... 6780 6781 6782 6783 6784
        │   │       spatial_ref  float64 8B ...
        │   │       x            (index) float64 54kB ...
        │   │       y            (index) float64 54kB ...
        │   │       z            (index) float64 54kB ...
        │   │   Data variables: (12/20)
        │   │       fid          (index) float64 54kB ...
        │   │       line         (index) int64 54kB ...
        │   │       e_nad83      (index) float64 54kB ...
        │   │       n_nad83      (index) float64 54kB ...
        │   │       lon          (index) float64 54kB ...
        │   │       lat          (index) float64 54kB ...
        │   │       ...           ...
        │   │       mag_raw      (index) float64 54kB ...
        │   │       tmi          (index) float64 54kB ...
        │   │       rmf          (index) float64 54kB ...
        │   │       igrf         (index) float64 54kB ...
        │   │       inc          (index) float64 54kB ...
        │   │       dec          (index) float64 54kB ...
        │   │   Attributes:
        │   │       uuid:        3a98c551-ee48-4202-af0e-b86756105ef8
        │   │       content:     raw data
        │   │       comment:     Contains mag data
        │   │       type:        data
        │   │       structure:   tabular
        │   │       mode:        airborne
        │   │       method:      magnetic
        │   │       submethod:   total field
        │   │       instrument:  cesium vapour
        │   │       property:    magnetic susceptibility
        │   └── Group: /survey/data/raw_data/magnetic_system
        │           Dimensions:      (dim_0: 1)
        │           Dimensions without coordinates: dim_0
        │           Data variables:
        │               sample_rate  (dim_0) float64 8B ...
        │               resolution   (dim_0) float64 8B ...
        │           Attributes:
        │               type:        system
        │               mode:        airborne
        │               method:      magnetic
        │               submethod:   total field
        │               instrument:  cesium vapour
        │               uuid:        f176f713-3978-4882-9f71-705bce9d189b
        │               name:        magnetic_system
        └── Group: /survey/data/grids
                Dimensions:       (x: 799, nv: 2, y: 1155)
                Coordinates:
                  * x             (x) float64 6kB 6.551e+05 6.552e+05 ... 7.348e+05 7.349e+05
                  * nv            (nv) int64 16B 0 1
                  * y             (y) float64 9kB 4.953e+05 4.952e+05 ... 3.8e+05 3.799e+05
                    spatial_ref   float64 8B ...
                Data variables:
                    x_bnds        (x, nv) float64 13kB ...
                    y_bnds        (y, nv) float64 18kB ...
                    magnetic_tmi  (y, x) float64 7MB ...
                    magnetic_rmf  (y, x) float64 7MB ...
                Attributes:
                    uuid:        bdfd33eb-6ead-4e97-aece-f38227ffa937
                    content:     gridded magnetic maps
                    comment:     This dataset includes AEM-derived estimates of the elevation...
                    type:        data
                    structure:   raster
                    mode:        airborne
                    method:      magnetic
                    submethod:   total field
                    instrument:  cesium vapour
                    property:    magnetic




.. GENERATED FROM PYTHON SOURCE LINES 69-70

Plotting

.. GENERATED FROM PYTHON SOURCE LINES 70-88

.. code-block:: Python

    plt.figure()
    new_survey['data/raw_data']['height'].plot()
    plt.tight_layout()

    pd = new_survey['data/raw_data']['tmi']
    plt.figure()
    pd.plot()
    plt.tight_layout()

    m = new_survey['data/grids/magnetic_tmi']
    plt.figure()
    m.plot(cmap='jet')
    plt.tight_layout()

    plt.show()






.. rst-class:: sphx-glr-horizontal


    *

      .. image-sg:: /examples/Creating_GS_Files/images/sphx_glr_plot_csv_magnetics_001.png
         :alt: spatial_ref = 0.0
         :srcset: /examples/Creating_GS_Files/images/sphx_glr_plot_csv_magnetics_001.png
         :class: sphx-glr-multi-img

    *

      .. image-sg:: /examples/Creating_GS_Files/images/sphx_glr_plot_csv_magnetics_002.png
         :alt: spatial_ref = 0.0
         :srcset: /examples/Creating_GS_Files/images/sphx_glr_plot_csv_magnetics_002.png
         :class: sphx-glr-multi-img

    *

      .. image-sg:: /examples/Creating_GS_Files/images/sphx_glr_plot_csv_magnetics_003.png
         :alt: spatial_ref = 0.0
         :srcset: /examples/Creating_GS_Files/images/sphx_glr_plot_csv_magnetics_003.png
         :class: sphx-glr-multi-img






.. rst-class:: sphx-glr-timing

   **Total running time of the script:** (0 minutes 0.455 seconds)


.. _sphx_glr_download_examples_Creating_GS_Files_plot_csv_magnetics.py:

.. only:: html

  .. container:: sphx-glr-footer sphx-glr-footer-example

    .. container:: sphx-glr-download sphx-glr-download-jupyter

      :download:`Download Jupyter notebook: plot_csv_magnetics.ipynb <plot_csv_magnetics.ipynb>`

    .. container:: sphx-glr-download sphx-glr-download-python

      :download:`Download Python source code: plot_csv_magnetics.py <plot_csv_magnetics.py>`

    .. container:: sphx-glr-download sphx-glr-download-zip

      :download:`Download zipped: plot_csv_magnetics.zip <plot_csv_magnetics.zip>`


.. only:: html

 .. rst-class:: sphx-glr-signature

    `Gallery generated by Sphinx-Gallery <https://sphinx-gallery.github.io>`_
