Hi,
Ahh yes, extracting data at specific spatial points requires additional steps since TEMPO Level-2 data use a 2D irregular grid. Here's a Python approach that should work:
import numpy as np
import xarray as xr
# Define the filepath
filepath = "TEMPO_O3PROF_L2_V04_20250921T210803Z_S012G02.nc ...
Search found 2 matches
- Mon Sep 29, 2025 2:51 pm America/New_York
- Forum: Home
- Question: Getting point values from TEMPO L2 ozone profile V04 in R
- Replies: 4
- Mon Sep 29, 2025 10:37 am America/New_York
- Forum: Home
- Question: Getting point values from TEMPO L2 ozone profile V04 in R
- Replies: 4
Re: Getting point values from TEMPO L2 ozone profile V04 in R
Hi there,
While I don't have a direct R solution to offer, here's a Python approach using `xarray` that might be helpful:
import xarray as xr
# Open the NetCDF file
filepath = "TEMPO_O3PROF_L2_V04_20250921T210803Z_S012G02.nc"
dt = xr.open_datatree(filepath)
# Extract ozone profile values from ...
While I don't have a direct R solution to offer, here's a Python approach using `xarray` that might be helpful:
import xarray as xr
# Open the NetCDF file
filepath = "TEMPO_O3PROF_L2_V04_20250921T210803Z_S012G02.nc"
dt = xr.open_datatree(filepath)
# Extract ozone profile values from ...