# Quickstart ## Write a settings file ```bash seagrid init ~/.config/seagrid # commented template with every default seagrid config files # which files seagrid reads seagrid sources # the configured sources and their time ranges ``` Edit `basedatadir` in `~/.config/seagrid/seagrid.toml` to choose where downloaded data are cached. ## Open a dataset ```python from seagrid import ostia, modis sst = ostia.open_dataset("2010-06-01") # °C, lat ascending par = modis.open_dataset("2023-06-01", "par", timetype="monthly") series = ostia.open_mfdataset("2010-06-01", "2010-06-30") ostia.time_range(), ostia.grid() ``` The first call downloads the file into the cache, and later calls open the cached copy. Every source module has the same functions, listed in {doc}`../user_guide/sources`. For a near-real-time or otherwise configured variant, ask the module for another source object: ```python nrt = ostia.source(variant="nrt") nrt.open_dataset("today") ```