Ok what do you think of these instructions?


Download the data files using Python.
Read and process the NetCDF (.nc) file.
Visualize the data extracted from the NetCDF file.
Discuss handling the .spx file.
Prerequisites
You'll need the following Python packages:

requests for downloading files.
xarray and netCDF4 for reading NetCDF files.
matplotlib or plotly for visualization.
Install them using pip:


pip install requests xarray netCDF4 matplotlib
Step 1: Download the Data Files
Let's start by downloading the data files from the provided URLs.


import os
import requests

def download_file(url, local_filename=None):
    """Download a file from a URL to a local path."""
    if local_filename is None:
        local_filename = url.split('/')[-1]

    # Make sure we don't download the file again
    if os.path.exists(local_filename):
        print(f"{local_filename} already exists. Skipping download.")
        return local_filename

    print(f"Downloading {local_filename} from {url}...")
    response = requests.get(url, stream=True)
    response.raise_for_status()  # Check for HTTP errors

    with open(local_filename, 'wb') as f:
        for chunk in response.iter_content(chunk_size=8192):
            if chunk:
                f.write(chunk)

    print(f"Downloaded {local_filename}")
    return local_filename

# URLs of the files to download
nc_url = 'https://oceandata.sci.gsfc.nasa.gov/getfile/PACE_SPEXONE.20241006T123126.L1A.nc'
spx_url = 'https://oceandata.sci.gsfc.nasa.gov/getfile/SPX000025124.spx'

# Download the NetCDF file
nc_filename = download_file(nc_url)

# Download the SPX file
spx_filename = download_file(spx_url)
Explanation:

download_file function: Downloads a file from a given URL and saves it locally.
We check if the file already exists to avoid redundant downloads.
We use requests with stream=True to handle large files efficiently.
Step 2: Read and Process the NetCDF File
Now we'll read the NetCDF file using xarray, which provides an easy interface for working with such data.


import xarray as xr

# Open the NetCDF file
ds = xr.open_dataset(nc_filename)

# Inspect the dataset
print(ds)
Explanation:

xr.open_dataset: Opens the NetCDF file and returns an xarray.Dataset object.
print(ds): Displays the contents of the dataset, including variables and dimensions.
Step 3: Explore the Dataset
Let's explore the variables and data within the dataset.


# List all variables in the dataset
print("Variables in the dataset:")
print(ds.data_vars)

# Accessing variables
# Replace 'variable_name' with an actual variable from the dataset
# For example, let's assume there's a variable called 'I' (intensity)
if 'I' in ds:
    intensity = ds['I']
    print(intensity)
else:
    print("Variable 'I' not found in the dataset.")
Explanation:

ds.data_vars: Lists all data variables in the dataset.
We check if a variable exists before accessing it to avoid errors.
Step 4: Visualize the Data
We can visualize the data using matplotlib. Here's how to plot a 2D slice of the data.


import matplotlib.pyplot as plt

# Assuming 'I' (intensity) is a variable with dimensions (scan_length, n_samples)
if 'I' in ds:
    intensity = ds['I']
    
    # Convert to a NumPy array
    intensity_data = intensity.values

    # Plotting the intensity
    plt.figure(figsize=(10, 6))
    plt.imshow(intensity_data, aspect='auto', cmap='viridis')
    plt.colorbar(label='Intensity')
    plt.xlabel('Sample Index')
    plt.ylabel('Scan Index')
    plt.title('Intensity from PACE-SPEXONE Instrument')
    plt.show()
else:
    print("Variable 'I' not found in the dataset.")
Explanation:

intensity.values: Extracts the data as a NumPy array.
plt.imshow: Displays the 2D data as an image.
aspect='auto': Adjusts the aspect ratio to fit the data.
Note: Replace 'I' with the actual variable name you are interested in. You can also adjust the dimensions and labels according to the data.

Handling Coordinates
If the dataset includes coordinate variables like latitude and longitude, you can create a geospatial plot.


# Check if latitude and longitude are available
if 'latitude' in ds and 'longitude' in ds and 'I' in ds:
    lat = ds['latitude'].values
    lon = ds['longitude'].values
    intensity = ds['I'].values

    # Ensure that the dimensions match
    if intensity.shape == (len(lat), len(lon)):
        # Create a meshgrid
        import numpy as np
        lon2d, lat2d = np.meshgrid(lon, lat)
        
        plt.figure(figsize=(10, 6))
        plt.pcolormesh(lon2d, lat2d, intensity, shading='auto', cmap='viridis')
        plt.colorbar(label='Intensity')
        plt.xlabel('Longitude')
        plt.ylabel('Latitude')
        plt.title('Intensity from PACE-SPEXONE Instrument')
        plt.show()
    else:
        print("Data dimensions do not match latitude and longitude dimensions.")
else:
    print("Latitude, longitude, or intensity data not found.")
Step 5: Handling the .spx File
The .spx file extension may represent a specialized data format for the SPEXone instrument. It is not a standard file type, so you'll need the specific data format documentation to process it.

Possible Steps:

Check File Type:

import os

# Determine the file size and type
print(f"File size of {spx_filename}: {os.path.getsize(spx_filename)} bytes")
Attempt to Read with Common Libraries:
HDF5 Format:

import h5py

try:
    with h5py.File(spx_filename, 'r') as f:
        print("Keys:", list(f.keys()))
except Exception as e:
    print(f"Could not open {spx_filename} with h5py: {e}")
Binary File Inspection:

with open(spx_filename, 'rb') as f:
    data = f.read(100)  # Read first 100 bytes
    print("First 100 bytes:", data)
Consult Documentation:
Check the PACE-SPEXONE data documentation or contact NASA for the file format specifications.
Note: It's important not to make assumptions about proprietary or specialized data formats without official documentation.

Optional: Building a Web Application
If you want to display the data on a web interface, you can use web frameworks like Dash or Bokeh for interactive visualization.

Here's an example using Dash:


import dash
from dash import dcc
from dash import html
import plotly.express as px

# Assuming 'intensity_data', 'lat', and 'lon' are defined as before

# Create a figure using Plotly
if 'latitude' in ds and 'longitude' in ds and 'I' in ds:
    fig = px.imshow(
        intensity_data,
        labels={'x': 'Sample Index', 'y': 'Scan Index', 'color': 'Intensity'},
        aspect='auto',
        color_continuous_scale='viridis'
    )

    # Initialize the Dash app
    app = dash.Dash(__name__)

    app.layout = html.Div(children=[
        html.H1(children='PACE-SPEXONE Intensity Data'),

        dcc.Graph(
            id='intensity-graph',
            figure=fig
        )
    ])

    if __name__ == '__main__':
        app.run_server(debug=True)
else:
    print("Required data not available for web visualization.")
Explanation:

dash: A Python framework for building web applications.
plotly.express.imshow: Creates an interactive image plot.
Summary
Download Data: Use requests to download files from the provided URLs.
Read NetCDF File: Use xarray to open and explore the NetCDF file.
Visualize Data: Use matplotlib or plotly for visualization.
Handle .spx File: Determine the file format and consult documentation.
Additional Tips
Check Variable Names: Use print(ds) and print(ds.variables) to find the exact variable names and their descriptions.
Understanding Dimensions: Pay attention to data dimensions (ds.dims) to correctly plot the data.
Data Units: Check for attributes like units or standard_name in variables for accurate interpretation.

# Example: Accessing variable attributes
if 'I' in ds:
    intensity = ds['I']
    print("Attributes of 'I':")
    print(intensity.attrs)
Next Steps
Explore More Variables: There might be other interesting variables in the dataset like Degree of Linear Polarization (DoLP) or Angle of Linear Polarization (AoLP).
Time Series Analysis: If the data includes a time dimension, consider analyzing changes over time.
Processing .spx File: Reach out to the data provider or check NASA's PACE mission resources for guidance on the .spx file.
Resources
PACE Mission Website: NASA PACE - Data Access
xarray Documentation: xarray.pydata.org
Matplotlib Documentation: matplotlib.org
Dash Documentation: dash.plotly.com



So the spx data itself looks like this 


 cat SPX000025124.spx
<!DOCTYPE html>
<!--[if lt IE 7]><html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]><html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]><html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--><html lang="en" class="no-js"><!--<![endif]-->
  <head><script id="f5_cspm">(function(){var f5_cspm={f5_p:'POHAGAJCIDKFEFKFCKFBFJIDKDGPBJIHHABBOOJFILJIKLNIGPLNANHJBEJPNDKENFABFDBGAAJHIAMBPANAJOFEAABPOPGEGIKFJFLLGNBAIPIKEGFJAFPKNEJLIDBB',setCharAt:function(str,index,chr){if(index>str.length-1)return str;return str.substr(0,index)+chr+str.substr(index+1);},get_byte:function(str,i){var s=(i/16)|0;i=(i&15);s=s*32;return((str.charCodeAt(i+16+s)-65)<<4)|(str.charCodeAt(i+s)-65);},set_byte:function(str,i,b){var s=(i/16)|0;i=(i&15);s=s*32;str=f5_cspm.setCharAt(str,(i+16+s),String.fromCharCode((b>>4)+65));str=f5_cspm.setCharAt(str,(i+s),String.fromCharCode((b&15)+65));return str;},set_latency:function(str,latency){latency=latency&0xffff;str=f5_cspm.set_byte(str,40,(latency>>8));str=f5_cspm.set_byte(str,41,(latency&0xff));str=f5_cspm.set_byte(str,35,2);return str;},wait_perf_data:function(){try{var wp=window.performance.timing;if(wp.loadEventEnd>0){var res=wp.loadEventEnd-wp.navigationStart;if(res<60001){var cookie_val=f5_cspm.set_latency(f5_cspm.f5_p,res);window.document.cookie='f5avr1779101917aaaaaaaaaaaaaaaa_cspm_='+encodeURIComponent(cookie_val)+';path=/';}
return;}}
catch(err){return;}
setTimeout(f5_cspm.wait_perf_data,100);return;},go:function(){var chunk=window.document.cookie.split(/\s*;\s*/);for(var i=0;i<chunk.length;++i){var pair=chunk[i].split(/\s*=\s*/);if(pair[0]=='f5_cspm'&&pair[1]=='1234')
{var d=new Date();d.setTime(d.getTime()-1000);window.document.cookie='f5_cspm=;expires='+d.toUTCString()+';path=/;';setTimeout(f5_cspm.wait_perf_data,100);}}}}
f5_cspm.go();}());</script>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>Earthdata Login</title>
    <meta name="description" content="Earthdata Login">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <!-- Google Tag Manager -->
    <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push(

      {'gtm.start': new Date().getTime(),event:'gtm.js'}

    );var f=d.getElementsByTagName(s)[0],
      j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
      'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
    })(window,document,'script','dataLayer','GTM-WNP7MLF');</script>
    <!-- End Google Tag Manager -->

    <link href="https://cdn.earthdata.nasa.gov/eui/1.1.3/stylesheets/application.css" rel="stylesheet" />
    <link rel="stylesheet" href="/assets/application-64364ee22ca4035f3a902011ad2ee0e14fda4692609e039fb147934a44a3577f.css" media="all" />
    <!--[if IE 7]>
      <link rel="stylesheet" href="/assets/font-awesome-ie7.min.css">
    <![endif]-->
    <link href="//netdna.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet">
    <link href='https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,700' rel='stylesheet' type='text/css'>
    <meta name="csrf-param" content="authenticity_token" />
<meta name="csrf-token" content="6WtNjoW6C3wMFyEa76fZWoWz91Z8JrPvFTbWTq87XhRLDQgcjfY1VNiHzytGpI-LIx0gbHKxJ_EACJt7hIAMuQ" />
    

    <!-- Grid background: http://subtlepatterns.com/graphy/ -->
  </head>
  <body class="oauth authorize" data-turbolinks-eval=false>

    <!-- Google Tag Manager (noscript) -->
    <noscript>
      <iframe src="https://www.googletagmanager.com/ns.html?id=GTM-WNP7MLF"
                    height="0" width="0" style="display:none;visibility:hidden"></iframe>
    </noscript>
    <!-- End Google Tag Manager (noscript) -->

    <header id="earthdata-tophat2" style="height: 32px;"></header>
    <!--[if lt IE 7]>
      <p class="chromeframe">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">activate Google Chrome Frame</a> to improve your experience.</p>
    <![endif]-->
    <div class="container">
      <header role="banner">
  <div id="masthead-logo">
    <h1><a class="ir" href="/">Earthdata Login</a></h1>
    <span class="eui-badge badge daac">Earthdata Login</span>
  </div>
  <a id="hamburger" href="#"><img title="Mobile Menu" alt="Three horizontal lines stacked" src="/assets/hamburger-68c8505066427f3e3f6ee40b24cfd3c9f7c0fe93ee298b9046564637262115fa.png" /></a>
  <nav role="navigation" class="masthead">

    <div id="hide">
      <ul>
        <li><strong><a href="/documentation">Documentation</a></strong></li>
      </ul>
    </div>
  </nav>
</header>

      







      <section id="callout-login">
  <div class="client-login">
    
    <br>
    <h3 class="client-description">
      Ocean Data Get File Authentication 
    </h3>

  </div>
  <form id="login" action="/login" accept-charset="UTF-8" method="post"><input name="utf8" type="hidden" value="&#x2713;" autocomplete="off" /><input type="hidden" name="authenticity_token" value="j-_PJFWB_lO-QlZASbEFbOoUVcLEdZhRhj7N2LJcfcwtiYq2Xc3Ae2rSuHHgslO9TLqC-MriDE-TAIDtmecvYQ" autocomplete="off" />
  <p>
    <label for="username">Username</label>
    <i class="fa fa-question-circle fa-question-circle--blue user-name" title="Login using either your Username or Email Address"></i>
    <input type="text" name="username" id="username" autofocus="autofocus" class="default" />
  </p>
  <p>
    <label for="password">Password</label><br />
    <input type="password" name="password" id="password" autocomplete="off" class="password" />
    <span class="password-showhide hide-password">
  </p>
  <p>
    <input type="hidden" name="client_id" id="client_id" value="pDPu0awH156XLrK6VV0Y0w" autocomplete="off" />
  </p>
  <p>
    <input type="hidden" name="redirect_uri" id="redirect_uri" value="https://oceandata.sci.gsfc.nasa.gov/getfile/urs/" autocomplete="off" />
  </p>
        <p><input type="hidden" name="response_type" id="response_type" value="code" autocomplete="off" /></p>
      <p><input type="hidden" name="state" id="state" autocomplete="off" /></p>
      <p><input type="checkbox" name="stay_in" id="stay_in" value="1" checked="checked" /> <label for="stay_in">Stay signed in (this is a private workstation)</label></p>

  <p class="button-with-notes">
    <input type="submit" name="commit" value="Log in" class="eui-btn--round eui-btn--green" data-disable-with="Log in" />
    <a class="eui-btn--round eui-btn--blue" href="/users/new?client_id=pDPu0awH156XLrK6VV0Y0w&amp;redirect_uri=https%3A%2F%2Foceandata.sci.gsfc.nasa.gov%2Fgetfile%2Furs%2F&amp;response_type=code">Register</a>
  </p>
  <p class="form-instructions">
    <em class="icon-question-sign"></em>
    <a class="" href="/retrieve_info">I don&rsquo;t remember my username</a>
    <br /><em class="icon-question-sign"></em>
    <a class="" href="/reset_passwords/new">I don&rsquo;t remember my password</a>
    <br />
    <em class="icon-question-sign"></em>
    <a href="javascript:feedback.showForm();" title = "Need Help? Click on the Feedback button to request help">Help</a>
  </p>
</form>
<aside class="govt-msg">
  <div class="nasa-logo"></div>
  <p>
    <strong>Why must I register?</strong>
  </p>
  <p>
    The Earthdata Login provides a single mechanism for user registration and profile management for all EOSDIS system components (DAACs, Tools, Services).
    Your Earthdata login also helps the EOSDIS program better understand the usage of EOSDIS services to improve user experience through customization of tools and improvement of services.
    EOSDIS data are openly available to all and free of charge except where governed by international agreements.
  </p>
</aside>

</section>
<section id="cta">
  <h3>Get single sign-on access to all your favorite EOSDIS sites</h3>
      <a class="eui-btn--round eui-btn--blue" href="/users/new?client_id=pDPu0awH156XLrK6VV0Y0w&amp;redirect_uri=https%3A%2F%2Foceandata.sci.gsfc.nasa.gov%2Fgetfile%2Furs%2F&amp;response_type=code">Register for a Profile</a>
</section>
<div class="govt-warning eui-info-box">
  <div class="warning-desktop">
    <p>
      <strong>
        Protection and maintenance of user profile information is described in
        <a href="https://www.nasa.gov/about/highlights/HP_Privacy.html">NASA's Web Privacy Policy.</a>
        </strong> 
    </p>
  </div>
  <div class="warning-mobile">
    <p>
      <strong>
        Protection and maintenance of user profile information is described in
            <a href="https://www.nasa.gov/about/highlights/HP_Privacy.html">NASA's Web Privacy Policy.</a>
      </strong> 
    </p>
  </div>
  <div class="warning-mobile-mini">
    <strong>
      US Govt Property. Unauthorized use subject to prosecution. Use subject to monitoring per
      <a href="https://nodis3.gsfc.nasa.gov/displayDir.cfm?t=NPD&c=2810&s=1E">NPD2810</a>.
    </strong>
  </div>
</div>

    </div>
    <footer role="contentinfo">
  <h3>For questions regarding the EOSDIS Earthdata Login, please contact <a href="javascript:feedback.showForm();" title="Earthdata Support form">Earthdata Support</a></h3>
  <ul>
    <li class="version badge eui-badge--md">V 4.212
</li>
    <li><a href="/">Home</a></li>
    <li><a href="/users/new">Register</a></li>
    <li><a title="NASA Home" href="http://www.nasa.gov">NASA</a></li>
    <li><a title="Accessability" href="https://www.nasa.gov/accessibility/">Accessibility</a></li>
  </ul>
  <p>NASA Official: Stephen Berrick</p>
</footer>

    <script src="/assets/application-0863280da8fc1907731d260e777a8bdc3a6c68049a32b3e521e58a3330dd2192.js"></script>
    <script type="text/javascript">
    $(window).scroll(function(e){
      parallax();
    });
    function parallax(){
      var scrolled = $(window).scrollTop();
      $('#content').css('background-position', 'right ' + -(scrolled*0.25)+'px ');
    }
    </script>
    <script src="https://cdn.earthdata.nasa.gov/tophat2/tophat2.js" id="earthdata-tophat-script" data-show-fbm="true" data-show-status="true" data-status-api-url="https://status.earthdata.nasa.gov/api/v1/notifications"></script>
    <script type="text/javascript" src="https://fbm.earthdata.nasa.gov/for/URS4/feedback.js"></script>
    <script type="text/javascript">
      feedback.init();
    </script>
    <script type="text/javascript">
        setTimeout(function()
                {var a=document.createElement("script"); var b=document.getElementsByTagName("script")[0];
                    a.src=document.location.protocol+"//dnn506yrbagrg.cloudfront.net/pages/scripts/0013/2090.js?"+Math.floor(new Date().getTime()/3600000);
                    a.async=true;a.type="text/javascript";b.parentNode.insertBefore(a,b)}
                , 1);
    </script>

    <!-- BEGIN: DAP Google Analytics  -->
    <script language="javascript" id="_fed_an_ua_tag" src="https://dap.digitalgov.gov/Universal-Federated-Analytics-Min.js?agency=NASA&subagency=GSFC&dclink=true"></script>
    <!-- END: DAP Google Analytics  -->

    
  </body>
</html>




And the pace data looks like this

cat PACE_SPEXONE.20241006T123126.L1A.nc 
<!DOCTYPE html>
<!--[if lt IE 7]><html class="no-js lt-ie9 lt-ie8 lt-ie7"> <![endif]-->
<!--[if IE 7]><html class="no-js lt-ie9 lt-ie8"> <![endif]-->
<!--[if IE 8]><html class="no-js lt-ie9"> <![endif]-->
<!--[if gt IE 8]><!--><html lang="en" class="no-js"><!--<![endif]-->
  <head><script id="f5_cspm">(function(){var f5_cspm={f5_p:'EBOKEECAENLIEJGBHJDGCDNEABPFGJGPMGKPENMEFOKBOAIDGGCJNNJIEMEICPMGFGJBKNGHAAFPIAADJANADJAFAANFCBFIKJELGOPCOKCMKKLGDAEELBGFIGOLFKGH',setCharAt:function(str,index,chr){if(index>str.length-1)return str;return str.substr(0,index)+chr+str.substr(index+1);},get_byte:function(str,i){var s=(i/16)|0;i=(i&15);s=s*32;return((str.charCodeAt(i+16+s)-65)<<4)|(str.charCodeAt(i+s)-65);},set_byte:function(str,i,b){var s=(i/16)|0;i=(i&15);s=s*32;str=f5_cspm.setCharAt(str,(i+16+s),String.fromCharCode((b>>4)+65));str=f5_cspm.setCharAt(str,(i+s),String.fromCharCode((b&15)+65));return str;},set_latency:function(str,latency){latency=latency&0xffff;str=f5_cspm.set_byte(str,40,(latency>>8));str=f5_cspm.set_byte(str,41,(latency&0xff));str=f5_cspm.set_byte(str,35,2);return str;},wait_perf_data:function(){try{var wp=window.performance.timing;if(wp.loadEventEnd>0){var res=wp.loadEventEnd-wp.navigationStart;if(res<60001){var cookie_val=f5_cspm.set_latency(f5_cspm.f5_p,res);window.document.cookie='f5avr1779101917aaaaaaaaaaaaaaaa_cspm_='+encodeURIComponent(cookie_val)+';path=/';}
return;}}
catch(err){return;}
setTimeout(f5_cspm.wait_perf_data,100);return;},go:function(){var chunk=window.document.cookie.split(/\s*;\s*/);for(var i=0;i<chunk.length;++i){var pair=chunk[i].split(/\s*=\s*/);if(pair[0]=='f5_cspm'&&pair[1]=='1234')
{var d=new Date();d.setTime(d.getTime()-1000);window.document.cookie='f5_cspm=;expires='+d.toUTCString()+';path=/;';setTimeout(f5_cspm.wait_perf_data,100);}}}}
f5_cspm.go();}());</script>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <title>Earthdata Login</title>
    <meta name="description" content="Earthdata Login">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">

    <!-- Google Tag Manager -->
    <script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push(

      {'gtm.start': new Date().getTime(),event:'gtm.js'}

    );var f=d.getElementsByTagName(s)[0],
      j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src=
      'https://www.googletagmanager.com/gtm.js?id='+i+dl;f.parentNode.insertBefore(j,f);
    })(window,document,'script','dataLayer','GTM-WNP7MLF');</script>
    <!-- End Google Tag Manager -->

    <link href="https://cdn.earthdata.nasa.gov/eui/1.1.3/stylesheets/application.css" rel="stylesheet" />
    <link rel="stylesheet" href="/assets/application-64364ee22ca4035f3a902011ad2ee0e14fda4692609e039fb147934a44a3577f.css" media="all" />
    <!--[if IE 7]>
      <link rel="stylesheet" href="/assets/font-awesome-ie7.min.css">
    <![endif]-->
    <link href="//netdna.bootstrapcdn.com/font-awesome/4.3.0/css/font-awesome.min.css" rel="stylesheet">
    <link href='https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,700' rel='stylesheet' type='text/css'>
    <meta name="csrf-param" content="authenticity_token" />
<meta name="csrf-token" content="ATQ7hTuTeer79x48RUxXnVWettLq5LBltLqvylosgXXVQHTnjevLdt-O7RmDM2QPHh261zyFe-YL7UcvHYZuig" />
    

    <!-- Grid background: http://subtlepatterns.com/graphy/ -->
  </head>
  <body class="oauth authorize" data-turbolinks-eval=false>

    <!-- Google Tag Manager (noscript) -->
    <noscript>
      <iframe src="https://www.googletagmanager.com/ns.html?id=GTM-WNP7MLF"
                    height="0" width="0" style="display:none;visibility:hidden"></iframe>
    </noscript>
    <!-- End Google Tag Manager (noscript) -->

    <header id="earthdata-tophat2" style="height: 32px;"></header>
    <!--[if lt IE 7]>
      <p class="chromeframe">You are using an <strong>outdated</strong> browser. Please <a href="http://browsehappy.com/">upgrade your browser</a> or <a href="http://www.google.com/chromeframe/?redirect=true">activate Google Chrome Frame</a> to improve your experience.</p>
    <![endif]-->
    <div class="container">
      <header role="banner">
  <div id="masthead-logo">
    <h1><a class="ir" href="/">Earthdata Login</a></h1>
    <span class="eui-badge badge daac">Earthdata Login</span>
  </div>
  <a id="hamburger" href="#"><img title="Mobile Menu" alt="Three horizontal lines stacked" src="/assets/hamburger-68c8505066427f3e3f6ee40b24cfd3c9f7c0fe93ee298b9046564637262115fa.png" /></a>
  <nav role="navigation" class="masthead">

    <div id="hide">
      <ul>
        <li><strong><a href="/documentation">Documentation</a></strong></li>
      </ul>
    </div>
  </nav>
</header>

      







      <section id="callout-login">
  <div class="client-login">
    
    <br>
    <h3 class="client-description">
      Ocean Data Get File Authentication 
    </h3>

  </div>
  <form id="login" action="/login" accept-charset="UTF-8" method="post"><input name="utf8" type="hidden" value="&#x2713;" autocomplete="off" /><input type="hidden" name="authenticity_token" value="vKanI9GafaxSFlvFnz5_G7G5nbplR72j2vsYFGFrgL5o0uhBZ-LPMHZvqOBZQUyJ-jqRv7MmdiBlrPDxJsFvQQ" autocomplete="off" />
  <p>
    <label for="username">Username</label>
    <i class="fa fa-question-circle fa-question-circle--blue user-name" title="Login using either your Username or Email Address"></i>
    <input type="text" name="username" id="username" autofocus="autofocus" class="default" />
  </p>
  <p>
    <label for="password">Password</label><br />
    <input type="password" name="password" id="password" autocomplete="off" class="password" />
    <span class="password-showhide hide-password">
  </p>
  <p>
    <input type="hidden" name="client_id" id="client_id" value="pDPu0awH156XLrK6VV0Y0w" autocomplete="off" />
  </p>
  <p>
    <input type="hidden" name="redirect_uri" id="redirect_uri" value="https://oceandata.sci.gsfc.nasa.gov/getfile/urs/" autocomplete="off" />
  </p>
        <p><input type="hidden" name="response_type" id="response_type" value="code" autocomplete="off" /></p>
      <p><input type="hidden" name="state" id="state" autocomplete="off" /></p>
      <p><input type="checkbox" name="stay_in" id="stay_in" value="1" checked="checked" /> <label for="stay_in">Stay signed in (this is a private workstation)</label></p>

  <p class="button-with-notes">
    <input type="submit" name="commit" value="Log in" class="eui-btn--round eui-btn--green" data-disable-with="Log in" />
    <a class="eui-btn--round eui-btn--blue" href="/users/new?client_id=pDPu0awH156XLrK6VV0Y0w&amp;redirect_uri=https%3A%2F%2Foceandata.sci.gsfc.nasa.gov%2Fgetfile%2Furs%2F&amp;response_type=code">Register</a>
  </p>
  <p class="form-instructions">
    <em class="icon-question-sign"></em>
    <a class="" href="/retrieve_info">I don&rsquo;t remember my username</a>
    <br /><em class="icon-question-sign"></em>
    <a class="" href="/reset_passwords/new">I don&rsquo;t remember my password</a>
    <br />
    <em class="icon-question-sign"></em>
    <a href="javascript:feedback.showForm();" title = "Need Help? Click on the Feedback button to request help">Help</a>
  </p>
</form>
<aside class="govt-msg">
  <div class="nasa-logo"></div>
  <p>
    <strong>Why must I register?</strong>
  </p>
  <p>
    The Earthdata Login provides a single mechanism for user registration and profile management for all EOSDIS system components (DAACs, Tools, Services).
    Your Earthdata login also helps the EOSDIS program better understand the usage of EOSDIS services to improve user experience through customization of tools and improvement of services.
    EOSDIS data are openly available to all and free of charge except where governed by international agreements.
  </p>
</aside>

</section>
<section id="cta">
  <h3>Get single sign-on access to all your favorite EOSDIS sites</h3>
      <a class="eui-btn--round eui-btn--blue" href="/users/new?client_id=pDPu0awH156XLrK6VV0Y0w&amp;redirect_uri=https%3A%2F%2Foceandata.sci.gsfc.nasa.gov%2Fgetfile%2Furs%2F&amp;response_type=code">Register for a Profile</a>
</section>
<div class="govt-warning eui-info-box">
  <div class="warning-desktop">
    <p>
      <strong>
        Protection and maintenance of user profile information is described in
        <a href="https://www.nasa.gov/about/highlights/HP_Privacy.html">NASA's Web Privacy Policy.</a>
        </strong> 
    </p>
  </div>
  <div class="warning-mobile">
    <p>
      <strong>
        Protection and maintenance of user profile information is described in
            <a href="https://www.nasa.gov/about/highlights/HP_Privacy.html">NASA's Web Privacy Policy.</a>
      </strong> 
    </p>
  </div>
  <div class="warning-mobile-mini">
    <strong>
      US Govt Property. Unauthorized use subject to prosecution. Use subject to monitoring per
      <a href="https://nodis3.gsfc.nasa.gov/displayDir.cfm?t=NPD&c=2810&s=1E">NPD2810</a>.
    </strong>
  </div>
</div>

    </div>
    <footer role="contentinfo">
  <h3>For questions regarding the EOSDIS Earthdata Login, please contact <a href="javascript:feedback.showForm();" title="Earthdata Support form">Earthdata Support</a></h3>
  <ul>
    <li class="version badge eui-badge--md">V 4.212
</li>
    <li><a href="/">Home</a></li>
    <li><a href="/users/new">Register</a></li>
    <li><a title="NASA Home" href="http://www.nasa.gov">NASA</a></li>
    <li><a title="Accessability" href="https://www.nasa.gov/accessibility/">Accessibility</a></li>
  </ul>
  <p>NASA Official: Stephen Berrick</p>
</footer>

    <script src="/assets/application-0863280da8fc1907731d260e777a8bdc3a6c68049a32b3e521e58a3330dd2192.js"></script>
    <script type="text/javascript">
    $(window).scroll(function(e){
      parallax();
    });
    function parallax(){
      var scrolled = $(window).scrollTop();
      $('#content').css('background-position', 'right ' + -(scrolled*0.25)+'px ');
    }
    </script>
    <script src="https://cdn.earthdata.nasa.gov/tophat2/tophat2.js" id="earthdata-tophat-script" data-show-fbm="true" data-show-status="true" data-status-api-url="https://status.earthdata.nasa.gov/api/v1/notifications"></script>
    <script type="text/javascript" src="https://fbm.earthdata.nasa.gov/for/URS4/feedback.js"></script>
    <script type="text/javascript">
      feedback.init();
    </script>
    <script type="text/javascript">
        setTimeout(function()
                {var a=document.createElement("script"); var b=document.getElementsByTagName("script")[0];
                    a.src=document.location.protocol+"//dnn506yrbagrg.cloudfront.net/pages/scripts/0013/2090.js?"+Math.floor(new Date().getTime()/3600000);
                    a.async=true;a.type="text/javascript";b.parentNode.insertBefore(a,b)}
                , 1);
    </script>

    <!-- BEGIN: DAP Google Analytics  -->
    <script language="javascript" id="_fed_an_ua_tag" src="https://dap.digitalgov.gov/Universal-Federated-Analytics-Min.js?agency=NASA&subagency=GSFC&dclink=true"></script>
    <!-- END: DAP Google Analytics  -->

    
  </body>
</html>



if theres more stuff here please incorporate it into  our guide and tell us how we can better visualize this data