act.io#

Description

This module contains procedures for reading and writing various ARM datasets.

Classes

WriteDataset(xarray_ds)

Class for cleaning up Dataset before writing to file.

Functions

check_arm_standards(ds)

Checks to see if an xarray dataset conforms to ARM standards.

check_if_tar_gz_file(filenames)

Unpacks gunzip and/or TAR file contents and returns Xarray Dataset

convert_to_ameriflux(ds[, variable_mapping, ...])

Returns xarray.Dataset with stored data and metadata from a user-defined query of ARM-standard netCDF files from a single datastream.

create_ds_from_arm_dod(proc, set_dims[, ...])

Queries the ARM DOD api and builds a dataset based on the ARM DOD and the dimension sizes that are passed in.

proc_sigma_mplv5_read(f[, save_nc, ...])

Returns xarray.Dataset with stored data and metadata from a user-defined SIGMA MPL V5 files.

read_arm_mmcr(filenames)

Reads in ARM MMCR files and splits up the variables into specific mode variables based on what's in the files.

read_arm_netcdf(filenames[, concat_dim, ...])

Returns xarray.Dataset with stored data and metadata from a user-defined query of ARM-standard netCDF files from a single datastream.

read_csv(filename[, sep, engine, ...])

Returns an xarray.Dataset with stored data and metadata from user-defined query of CSV files.

read_gml(filename[, datatype, ...])

Function to call or guess what reading NOAA GML daga routine to use.

read_gml_co2([filename, convert_missing])

Function to read carbon dioxide data from NOAA GML.

read_gml_halo(filename, **kwargs)

Function to read Halocarbon data from NOAA GML.

read_gml_met([filename, convert_missing])

Function to read meteorological data from NOAA GML.

read_gml_ozone([filename])

Function to read ozone data from NOAA GML.

read_gml_radiation([filename, ...])

Function to read radiation data from NOAA GML.

read_hk_file(file_name)

This procedure will read in an SP2 housekeeping file and then store the timeseries data into a pandas DataFrame.

read_hysplit(filename[, base_year, skiprows])

Reads an input HYSPLIT trajectory for plotting in ACT.

read_icartt(filename[, format, return_None])

Returns xarray.Dataset with stored data and metadata from a user-defined query of ICARTT from a single datastream.

read_mfas_sodar(filepath)

Returns xarray.Dataset with stored data and metadata from a user-defined Flat Array MFAS Sodar file.

read_neon_csv(files[, variable_files, ...])

Reads in the NEON formatted csv files from local paths or urls and returns an Xarray dataset.

read_psl_parsivel(files)

Returns xarray.Dataset with stored data and metadata from a user-defined NOAA PSL parsivel

read_psl_radar_fmcw_moment(files)

Returns xarray.Dataset with stored data and metadata from NOAA PSL FMCW Radar files.

read_psl_surface_met(filenames[, conf_file])

Returns xarray.Dataset with stored data and metadata from a user-defined NOAA PSL SurfaceMet file.

read_psl_wind_profiler(filepath[, transpose])

Returns two xarray.Datasets with stored data and metadata from a user-defined NOAA PSL wind profiler file each containing a different mode.

read_psl_wind_profiler_temperature(filepath)

Returns xarray.Dataset with stored data and metadata from a user-defined NOAA PSL wind profiler temperature file.

read_sigma_mplv5(filename[, save_nc, ...])

Returns xarray.Dataset with stored data and metadata from a user-defined SIGMA MPL V5 files.

read_sp2(file_name[, debug, arm_convention])

Loads a binary SP2 raw data file and returns all of the wave forms into an xarray Dataset.

read_sp2_dat(file_name, type)

This reads the .dat files that generate the intermediate parameters used by the Igor processing.

read_surfrad(filename, **kwargs)

Function to read in NOAA SurfRad data