amsr
AMSRDataLoader(bounds, params)
¶
Bases: ScalarDataLoader
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:
| Name | Type | Description | Default |
|---|---|---|---|
params
|
dict
|
Dictionary holding keys and values that will be turned into object attributes |
required |
Returns:
| Name | Type | Description |
|---|---|---|
dict |
Params dictionary with addition of translated key/value pairs |
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:
| Name | Type | Description | Default |
|---|---|---|---|
bounds
|
Boundary
|
Initial boundary to limit the dataset to |
required |
Returns:
| Type | Description |
|---|---|
|
xr.Dataset: AMSR SIC dataset within limits of bounds. Dataset has coordinates 'lat', 'long', and variable 'SIC' |