7. How to …

7.1. … get data from tds.tropos.de?

Currently, the processed PyrNet data is hosted on the TROPOS Thredds server. Data can be obtained, e.g., via the OPeNDAP protocol, or using the pyrnet python module.

Hide code cell source

import datetime as dt
from pyrnet import pyrnet

print(pyrnet.read_thredds.__doc__)

For example, read and merge two days from the S2VSR campaign:

Hide code cell source

campaign='s2vsr'
dates = [dt.datetime(2023,6,8),dt.datetime(2023,6,9)]
stations = None # read all stations
collection = None # read latest collection
lvl = 'l1b'

ds = pyrnet.read_thredds(
    dates=dates,
    campaign=campaign,
    stations=stations,
    collection=collection,
    lvl=lvl
)

Note

stations can also be a list of single station numbers, or just one single station number. To select the specific data required.

7.2. … decide which data level to use?

Data processing levels of PyrNet are l1a, l1b. Refer to tab-datalvl for an overview.

7.3. … keep full resolution of geo coordinates (processing raw data)?

From the processing step l1a -> l1b the decision whether to keep lat and lon coordinates time resolution (and interpolate to measurement sample), or average them over the maintenance interval has to be made.

In the configuration file provided for pyrnet process l1b -c the keyword “average_latlon” switches the behaviour. The default is True, so the coordinates are averaged over the maintenance period.