Automating Access to Password Protected ERDDAP Datasets
Madison Richardson3 Dale Robinson2 Cara Wilson1 Sunny Hospital2 | ERDDAP Showcase January 2026 |
1Southwest Fisheries Science Center, NOAA
2UCSC Institute of Marine Sciences | Fisheries Collaborative Program | Cooperative Institute for Marine, Earth, and Atmospheric Systems
3Miami TSPi
2
What We’ll Cover
Department of Commerce | National Oceanic and Atmospheric Administration| NOAA.gov
3
Access Control in ERDDAP Workflows
Typical ERDDAP Usage
When Access Must Be Restricted
Manual login works for interactive use, but presents a problem for automated workflows.
Department of Commerce | National Oceanic and Atmospheric Administration| NOAA.gov
4
What We Showcase in This Project
Searchable Database
Image Server
2. A Non-Traditional Use of ERDDAP:
Department of Commerce | National Oceanic and Atmospheric Administration| NOAA.gov
5
CoastWatch Satellite Training Course Overview
Example Participant Project Slide
Over 250 slides have been collected since 2013 (and growing!)
Department of Commerce | National Oceanic and Atmospheric Administration| NOAA.gov
6
The Participant & Slide Archive: Then vs. Now
Then
�Now
Before
After
Department of Commerce | National Oceanic and Atmospheric Administration| NOAA.gov
7
Server-Side Configuration of Datasets for Secure Access
ERDDAP is configured to use Google-based authentication for user logins.
Inside setup.xml:
<authentication>google</authentication>
<googleClientID>
{token}.apps.googleusercontent.com
</googleClientID>
Results:
Department of Commerce | National Oceanic and Atmospheric Administration| NOAA.gov
8
Who Can Access the Datasets?
Once authenticated, users are granted access to datasets based on assigned roles.
Inside datasets.xml:
<user username="john.doe@noaa.gov"
roles="coastSlideUser" />
<accessibleTo>coastSlideUser</accessibleTo>
Results:
Department of Commerce | National Oceanic and Atmospheric Administration| NOAA.gov
9
Where the ERDDAP Data Comes From
Participant metadata (CSV)
Participant Slide PNGs
ID | First Name | Last Name | CourseID | Year |
2006wcn1 | John | Doe | 2006wcn | 2006 |
2006wcn2 | Jane | Doe | 2006wcn | 2006 |
Department of Commerce | National Oceanic and Atmospheric Administration| NOAA.gov
10
How the ERDDAP Dataset XMLs Were Set Up
Participant Metadata Dataset
Searchable table of participant metadata
Slide Image Dataset
Linked archive of slide images
Department of Commerce | National Oceanic and Atmospheric Administration| NOAA.gov
11
Secure Automated ERDDAP Workflow
Python or R Script
ERDDAP Dataset
(Metadata)
PowerPoint Presentation
ERDDAP Dataset
(Image Server)
Query dataset
Return metadata
Download URLS
Use SlideIDs to get URLS
Generate ppt
Authenticated via Selenium login
Department of Commerce | National Oceanic and Atmospheric Administration| NOAA.gov
12
Example: NMFS Participants who used JPSS Data
Department of Commerce | National Oceanic and Atmospheric Administration| NOAA.gov
13
Accessing Password Protected Datasets
Python or R Script
ERDDAP Dataset
(Metadata)
Query dataset
Authenticated via Selenium login
Department of Commerce | National Oceanic and Atmospheric Administration| NOAA.gov
14
Selenium WebDriver: Automating Access to ERDDAP
User Code
Selenium Browser Window
Logged In
Metadata Access
Department of Commerce | National Oceanic and Atmospheric Administration| NOAA.gov
15
Double Login
1
2
Department of Commerce | National Oceanic and Atmospheric Administration| NOAA.gov
16
Retrieving Participant Metadata
Python or R Script
ERDDAP Dataset
(Metadata)
Query dataset
Return metadata
Authenticated via Selenium login
Department of Commerce | National Oceanic and Atmospheric Administration| NOAA.gov
17
Query Participant Slide PNGs
Python or R Script
ERDDAP Dataset
(Metadata)
ERDDAP Dataset
(Image Server)
Query dataset
Return metadata
Use SlideIDs to get URLS
Authenticated via Selenium login
Department of Commerce | National Oceanic and Atmospheric Administration| NOAA.gov
18
Download Participant Slide PNGs
Python or R Script
ERDDAP Dataset
(Metadata)
ERDDAP Dataset
(Image Server)
Query dataset
Return metadata
Download URLS
Use SlideIDs to get URLS
Authenticated via Selenium login
Department of Commerce | National Oceanic and Atmospheric Administration| NOAA.gov
19
Generate Custom PowerPoint
Python or R Script
ERDDAP Dataset
(Metadata)
PowerPoint Presentation
ERDDAP Dataset
(Image Server)
Query dataset
Return metadata
Download URLS
Use SlideIDs to get URLS
Generate ppt
Authenticated via Selenium login
Department of Commerce | National Oceanic and Atmospheric Administration| NOAA.gov
20
End Product: From Query to Presentation
Each slide combines metadata and participant images into a ready-to-use presentation.
Department of Commerce | National Oceanic and Atmospheric Administration| NOAA.gov
21
Strengths and Limitations of This ERDDAP Approach
Strengths
Limitations
Department of Commerce | National Oceanic and Atmospheric Administration| NOAA.gov
22
Why This Matters
Improve Access and Efficiency
Enhance Course Impact
Promotes Secure Reproducible Practices
Department of Commerce | National Oceanic and Atmospheric Administration| NOAA.gov
23
Acknowledgements
West Coast Node
& PolarWatch
All instructors, participants, and hosts of the satellite course trainings!
CW Central
JPSS PGRR Program
Thank you for funding the slide collection project!
SWFSC
Department of Commerce | National Oceanic and Atmospheric Administration| NOAA.gov
24
Questions?
Department of Commerce | National Oceanic and Atmospheric Administration| NOAA.gov