
.. DO NOT EDIT.
.. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY.
.. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE:
.. "examples/Creating_GS_Files/plot_magnetics_csv.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_magnetics_csv.py>`
        to download the full example code.

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

.. _sphx_glr_examples_Creating_GS_Files_plot_magnetics_csv.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:        a011e401-5d99-432d-85c0-d3aca67743c2
    │       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:        7a6ab65f-9ac0-4c4c-af44-b5934bdcc76e
                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-c8fdfb3d-812e-4eb6-88a8-559b9c14597a' class='xr-section-summary-in' type='checkbox'  ><label for='section-c8fdfb3d-812e-4eb6-88a8-559b9c14597a' 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-33ef6c97-881a-45f9-9fc4-c527f306669b' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-33ef6c97-881a-45f9-9fc4-c527f306669b' 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-83973f1b-d58f-425f-ad9a-a33b68c99ce6' class='xr-section-summary-in' type='checkbox'  checked><label for='section-83973f1b-d58f-425f-ad9a-a33b68c99ce6' 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-5fb4d8cc-e5d2-4996-9ac5-1eff759e2dad' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-5fb4d8cc-e5d2-4996-9ac5-1eff759e2dad' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-a28c3ae6-4d1e-471c-bf40-8052d08c9f11' class='xr-var-data-in' type='checkbox'><label for='data-a28c3ae6-4d1e-471c-bf40-8052d08c9f11' 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-7def45e3-90cb-4eac-ad9c-592e301c0ea9' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-7def45e3-90cb-4eac-ad9c-592e301c0ea9' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-2de936a5-7993-49d7-88f7-291dc5840caf' class='xr-var-data-in' type='checkbox'><label for='data-2de936a5-7993-49d7-88f7-291dc5840caf' 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-3ad7288b-1707-4f4c-90f4-be0d81f62619' class='xr-section-summary-in' type='checkbox'  checked><label for='section-3ad7288b-1707-4f4c-90f4-be0d81f62619' 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>7a6ab65f-9ac0-4c4c-af44-b5934bdcc76e</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-c7f9c9ec-0781-4330-98e9-a36d56fe968e' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-c7f9c9ec-0781-4330-98e9-a36d56fe968e' 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-09dfe975-c843-4947-b957-1995376e9508' class='xr-section-summary-in' type='checkbox'  checked><label for='section-09dfe975-c843-4947-b957-1995376e9508' 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-b927f566-c1b0-48f7-ba0c-531128f91d70' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-b927f566-c1b0-48f7-ba0c-531128f91d70' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-f4d89f0e-df84-4079-baa6-92e48dbacedb' class='xr-var-data-in' type='checkbox'><label for='data-f4d89f0e-df84-4079-baa6-92e48dbacedb' 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-a26838e0-4e6c-42ad-93c1-1d40b4d16756' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-a26838e0-4e6c-42ad-93c1-1d40b4d16756' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-8e270abb-b389-4e0c-88ed-ca0bdabd9276' class='xr-var-data-in' type='checkbox'><label for='data-8e270abb-b389-4e0c-88ed-ca0bdabd9276' 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-7ddd4312-3af4-43c9-b46f-c1f0f4d2fa40' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-7ddd4312-3af4-43c9-b46f-c1f0f4d2fa40' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-f209cf19-ded5-4533-aa25-a5230fbe704a' class='xr-var-data-in' type='checkbox'><label for='data-f209cf19-ded5-4533-aa25-a5230fbe704a' 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-3191619e-e3fd-41a7-b04c-e412d5a09aa5' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-3191619e-e3fd-41a7-b04c-e412d5a09aa5' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-c5dcbe24-dd28-4bad-be1f-e70d48def831' class='xr-var-data-in' type='checkbox'><label for='data-c5dcbe24-dd28-4bad-be1f-e70d48def831' 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-917d8ea5-af2e-477d-ad0f-5d481695cced' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-917d8ea5-af2e-477d-ad0f-5d481695cced' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-1dd2c7f4-d9ad-4ab2-aad1-1436aff57c43' class='xr-var-data-in' type='checkbox'><label for='data-1dd2c7f4-d9ad-4ab2-aad1-1436aff57c43' 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-01deb443-5dea-4a2c-b2c7-29c1d9394a32' class='xr-section-summary-in' type='checkbox'  ><label for='section-01deb443-5dea-4a2c-b2c7-29c1d9394a32' 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-602b6997-e4c7-4133-84f9-8e091591a685' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-602b6997-e4c7-4133-84f9-8e091591a685' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-9b00a832-5a07-4c9a-9f3c-ed9d39b7626e' class='xr-var-data-in' type='checkbox'><label for='data-9b00a832-5a07-4c9a-9f3c-ed9d39b7626e' 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-e1e61130-68ff-4dd8-9148-c5ff71b3da0d' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-e1e61130-68ff-4dd8-9148-c5ff71b3da0d' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-4d648dd9-ea5c-42fb-b3b6-d041ae9f556e' class='xr-var-data-in' type='checkbox'><label for='data-4d648dd9-ea5c-42fb-b3b6-d041ae9f556e' 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-81046ca9-52b1-439c-9212-53e00a6c8c5c' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-81046ca9-52b1-439c-9212-53e00a6c8c5c' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-5ba970f2-f9d1-48fb-84af-87727b604cb7' class='xr-var-data-in' type='checkbox'><label for='data-5ba970f2-f9d1-48fb-84af-87727b604cb7' 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-f02042de-4d43-43b0-92cd-f87302065501' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-f02042de-4d43-43b0-92cd-f87302065501' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-eda5f91f-e3e9-4757-9820-73dc602de31c' class='xr-var-data-in' type='checkbox'><label for='data-eda5f91f-e3e9-4757-9820-73dc602de31c' 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-41858a0a-4ac7-40f3-9433-ff33778de3c4' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-41858a0a-4ac7-40f3-9433-ff33778de3c4' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-411b1802-0799-4bc1-831a-6f7132e8f85e' class='xr-var-data-in' type='checkbox'><label for='data-411b1802-0799-4bc1-831a-6f7132e8f85e' 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-8ba9c2bb-1de7-48de-80ed-c0bdd484a8a2' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-8ba9c2bb-1de7-48de-80ed-c0bdd484a8a2' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-2e3e6616-a6bc-4987-bf9f-e59125e9ed2c' class='xr-var-data-in' type='checkbox'><label for='data-2e3e6616-a6bc-4987-bf9f-e59125e9ed2c' 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-08bf8e53-ab0a-4a29-ab39-f33633b4e9fe' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-08bf8e53-ab0a-4a29-ab39-f33633b4e9fe' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-367bfcbe-f656-4476-a4e3-8525ffb4c940' class='xr-var-data-in' type='checkbox'><label for='data-367bfcbe-f656-4476-a4e3-8525ffb4c940' 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-c81e432a-d09f-4460-a1fd-a32356dc8ab4' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-c81e432a-d09f-4460-a1fd-a32356dc8ab4' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-3f2bcd9a-f828-4e59-a890-8bd152c5ced7' class='xr-var-data-in' type='checkbox'><label for='data-3f2bcd9a-f828-4e59-a890-8bd152c5ced7' 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-b20547b0-85da-4a81-8706-a4101aad98c7' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-b20547b0-85da-4a81-8706-a4101aad98c7' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-3106bddc-90a5-4f17-9ebf-06e8f80710f1' class='xr-var-data-in' type='checkbox'><label for='data-3106bddc-90a5-4f17-9ebf-06e8f80710f1' 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-78f68ac0-dc34-40f4-a042-0cbe04979001' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-78f68ac0-dc34-40f4-a042-0cbe04979001' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-cba6107f-eba2-4a16-afbe-7336d22a09cf' class='xr-var-data-in' type='checkbox'><label for='data-cba6107f-eba2-4a16-afbe-7336d22a09cf' 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-659f3b81-2d19-4b41-9d50-46d767e7a4eb' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-659f3b81-2d19-4b41-9d50-46d767e7a4eb' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-48116587-194e-4ebd-80f0-15ac7643db19' class='xr-var-data-in' type='checkbox'><label for='data-48116587-194e-4ebd-80f0-15ac7643db19' 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-7f3f6bbd-7a87-44e2-ab45-b2bd84d624f4' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-7f3f6bbd-7a87-44e2-ab45-b2bd84d624f4' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-677527bb-d53f-4832-b774-7e90a8f48b62' class='xr-var-data-in' type='checkbox'><label for='data-677527bb-d53f-4832-b774-7e90a8f48b62' 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-218497fc-1a05-468e-bdb5-4ca49fcf1691' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-218497fc-1a05-468e-bdb5-4ca49fcf1691' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-ffbf29d6-b59e-40cf-96ca-0e55ae62d5a9' class='xr-var-data-in' type='checkbox'><label for='data-ffbf29d6-b59e-40cf-96ca-0e55ae62d5a9' 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-f3e3f25b-d007-4e65-a14c-6618dd18f38c' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-f3e3f25b-d007-4e65-a14c-6618dd18f38c' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-6d3ff8b0-be67-471b-9526-6b90c3fc54f1' class='xr-var-data-in' type='checkbox'><label for='data-6d3ff8b0-be67-471b-9526-6b90c3fc54f1' 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-f8d4d5c7-f805-43d3-91de-3f900b583d10' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-f8d4d5c7-f805-43d3-91de-3f900b583d10' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-275f4f16-0792-474d-ad5d-caf16f2ab770' class='xr-var-data-in' type='checkbox'><label for='data-275f4f16-0792-474d-ad5d-caf16f2ab770' 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-e74d9cf6-0b97-4ff7-9375-5906844c0e80' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-e74d9cf6-0b97-4ff7-9375-5906844c0e80' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-409de7a9-cb9c-412d-8e6f-29e26a867e70' class='xr-var-data-in' type='checkbox'><label for='data-409de7a9-cb9c-412d-8e6f-29e26a867e70' 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-9b9a7408-bdbb-463c-9172-bbda76612f99' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-9b9a7408-bdbb-463c-9172-bbda76612f99' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-9d44100b-2a4f-4158-9473-4202e0998f99' class='xr-var-data-in' type='checkbox'><label for='data-9d44100b-2a4f-4158-9473-4202e0998f99' 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-15e7a920-0fc5-46dc-a7bb-1778216f8065' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-15e7a920-0fc5-46dc-a7bb-1778216f8065' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-4c3c5c13-66b6-41aa-b7b2-40ca899802fe' class='xr-var-data-in' type='checkbox'><label for='data-4c3c5c13-66b6-41aa-b7b2-40ca899802fe' 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-76237622-94d0-44c3-8b0d-1f5d6a0fd23a' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-76237622-94d0-44c3-8b0d-1f5d6a0fd23a' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-d77e5591-6559-440e-afd5-037de0e2b3fd' class='xr-var-data-in' type='checkbox'><label for='data-d77e5591-6559-440e-afd5-037de0e2b3fd' 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-947b8f7c-35a5-4e32-9132-d6bfe4ff77b1' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-947b8f7c-35a5-4e32-9132-d6bfe4ff77b1' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-669d5192-f2df-49fb-808e-7fd672fe99af' class='xr-var-data-in' type='checkbox'><label for='data-669d5192-f2df-49fb-808e-7fd672fe99af' 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-a4578355-a26f-4b2d-9536-5f4c9fda6ec4' class='xr-section-summary-in' type='checkbox'  ><label for='section-a4578355-a26f-4b2d-9536-5f4c9fda6ec4' 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>a011e401-5d99-432d-85c0-d3aca67743c2</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:        73297f20-d284-4c31-afba-88e155977506
            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-275cb26d-47e2-4b50-8d95-a056a642910b' class='xr-section-summary-in' type='checkbox' disabled ><label for='section-275cb26d-47e2-4b50-8d95-a056a642910b' 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-b316338b-0225-404a-8f04-d0b7b4f6f631' class='xr-section-summary-in' type='checkbox'  checked><label for='section-b316338b-0225-404a-8f04-d0b7b4f6f631' 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-05fc6029-6425-4f14-aa1d-b658a2f702b7' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-05fc6029-6425-4f14-aa1d-b658a2f702b7' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-dfe09a15-bcb8-4e74-9310-bd77773fcefc' class='xr-var-data-in' type='checkbox'><label for='data-dfe09a15-bcb8-4e74-9310-bd77773fcefc' 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-3ee000f2-61a9-4644-9296-38fd7522e4a1' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-3ee000f2-61a9-4644-9296-38fd7522e4a1' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-a8ecec88-85e6-4cf7-931f-b79db57a8656' class='xr-var-data-in' type='checkbox'><label for='data-a8ecec88-85e6-4cf7-931f-b79db57a8656' 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-834c3e3d-d154-44c3-9b1d-11ec9157f713' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-834c3e3d-d154-44c3-9b1d-11ec9157f713' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-e689f5c5-37be-45be-ab1f-267381bfb5c1' class='xr-var-data-in' type='checkbox'><label for='data-e689f5c5-37be-45be-ab1f-267381bfb5c1' 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-76e80d0e-1435-42fd-9242-81ddbbcd7135' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-76e80d0e-1435-42fd-9242-81ddbbcd7135' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-0533582b-28df-4537-83a8-ead92dac65c1' class='xr-var-data-in' type='checkbox'><label for='data-0533582b-28df-4537-83a8-ead92dac65c1' 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-78c09897-3dce-4b5b-8e98-81b477df9f4e' class='xr-section-summary-in' type='checkbox'  checked><label for='section-78c09897-3dce-4b5b-8e98-81b477df9f4e' 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-0fe952be-0a1e-499a-bdb2-6d09cd9b2482' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-0fe952be-0a1e-499a-bdb2-6d09cd9b2482' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-f8d59395-227e-4865-8b02-fc6b6c12bb00' class='xr-var-data-in' type='checkbox'><label for='data-f8d59395-227e-4865-8b02-fc6b6c12bb00' 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-9a295203-d235-40ab-9c6c-2650bfc0537e' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-9a295203-d235-40ab-9c6c-2650bfc0537e' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-ca21efde-f9fa-49fb-a9a4-32f7ddcc04dc' class='xr-var-data-in' type='checkbox'><label for='data-ca21efde-f9fa-49fb-a9a4-32f7ddcc04dc' 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-587332db-4fd8-4349-84b0-508670ad1800' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-587332db-4fd8-4349-84b0-508670ad1800' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-4a320eb3-188a-4548-bb85-c1f4cb198f44' class='xr-var-data-in' type='checkbox'><label for='data-4a320eb3-188a-4548-bb85-c1f4cb198f44' 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-3bbee90b-4782-45bc-861d-c9a9abe0f19c' class='xr-var-attrs-in' type='checkbox' ><label for='attrs-3bbee90b-4782-45bc-861d-c9a9abe0f19c' title='Show/Hide attributes'><svg class='icon xr-icon-file-text2'><use xlink:href='#icon-file-text2'></use></svg></label><input id='data-0ffdecce-d856-4b9d-9baa-60d20360d134' class='xr-var-data-in' type='checkbox'><label for='data-0ffdecce-d856-4b9d-9baa-60d20360d134' 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-65e52010-8580-4340-898f-b4b203854007' class='xr-section-summary-in' type='checkbox'  ><label for='section-65e52010-8580-4340-898f-b4b203854007' 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>73297f20-d284-4c31-afba-88e155977506</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)








.. 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:         95201502-e26b-4395-9428-b50bd66fdd66
    │       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:        a011e401-5d99-432d-85c0-d3aca67743c2
        │   │       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:        7a6ab65f-9ac0-4c4c-af44-b5934bdcc76e
        │               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:        73297f20-d284-4c31-afba-88e155977506
                    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_magnetics_csv_001.png
         :alt: spatial_ref = 0.0
         :srcset: /examples/Creating_GS_Files/images/sphx_glr_plot_magnetics_csv_001.png
         :class: sphx-glr-multi-img

    *

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

    *

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






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

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


.. _sphx_glr_download_examples_Creating_GS_Files_plot_magnetics_csv.py:

.. only:: html

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

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

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

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

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

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

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


.. only:: html

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

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