7.3.3.1. AMSR Dataloader
The AMSR (Advanced Microwave Scanning Radiometer) dataset is a publicly available that provides Sea Ice Concentration scans of the earth’s oceans. It is produced by researchers at the University of Bremen.
The AMSR dataloader is currently the only ‘standalone’ dataloader, in that it
is defined independently of the abstract base class. This is due to issues
with pandas
calculating mean values differently depending on how the
data is loaded. This caused issues with the regression tests passing.
This issue will be rectified soon by updating the regression tests.
Name in config: 'amsr'
Data can be downloaded from here
- class meshiphi.dataloaders.scalar.amsr.AMSRDataLoader(bounds, params)
- add_default_params(params)
Translates ‘hemisphere’ parameter into values of in_proj and out_proj that pyProj can understand. Also defines x_col and y_col for AMSR data for reprojection to function
- Parameters:
params (dict) – Dictionary holding keys and values that will be turned into object attributes
- Returns:
Params dictionary with addition of translated key/value pairs
- Return type:
dict
- import_data(bounds)
Reads in data from a AMSR NetCDF file, or folder of files. Drops unnecessary column ‘polar_stereographic’, and renames variable ‘z’ to ‘SIC’
- Parameters:
bounds (Boundary) – Initial boundary to limit the dataset to
- Returns:
AMSR SIC dataset within limits of bounds. Dataset has coordinates ‘lat’, ‘long’, and variable ‘SIC’
- Return type:
xr.Dataset