Releases: axiom-data-science/extract_model
v1.1.0
What's New
Two main changes in sel2d
/ sel2dcf
:
- a mask can be input to limit the lons/lats from the DataArray/Dataset that are used in searching for the nearest point with
xoak
, in case the nearest model point is on land but we still want a valid model point returned. - incorporating changes from xoak that optional return distance of the model point(s) from the requested point(s).
v1.0.0
v0.9.0
What's New
- An optional subsetting option that enables subsetting directly on the target
dataset's dimensions. For remote datasets, this ensures that remote requests
ask for minimal slices.em.sub_grid(..., naive=True)
. - Adds
preload
argument for unstructured grid subsetting. Radically improves xarray resolution
times after subsetting.
v0.8.1
v0.8.0
What's New
extract_model
has a backend that will support reading in FVCOM model output which has previously not been possible when usingxarray
without dropping the vertical grid coordinates.em.sub_bbox()
supports subsetting FVCOM model output.- A new jupyter notebook demonstrating subsetting of FVCOM model output is now available in docs.
em.sub_grid()
supports subsetting FVCOM model output.em.filter()
will not discard any unstructured coordinate information in the auxiliary coordinate
variables.
v0.7
What's New
em.sel2d()
now usesxoak
to find the nearest neighbor grid point on ND grids. Due to this change,em.argsel2d()
doesn't exist anymore. Note that vertical functionality that was previously inem.sel2d()
is now inem.selZ()
.- Provide more options in
em.filter()
for keeping different coordinates in aDataset
. - Improvement to unit test setup.
em.preprocess()
will implicitly assign horizontal coordinates longitude and latitude for POM
datasets, even if the data do not specifycoordinates
attributes explicitly.
v0.6.1
Hopefully improved reliability of tests running on CI. Also separated out xESMF
into another installation file so that package will be installable from conda-forge for all operating systems, but then xESMF
is installed subsequently for non-Windows users with the conda-requirements.txt
file.
v0.6
extract_model
can now be installed on Windows. If installing on Windows, horizontal interpolation will not work since xESMF
will not work properly since ESMPy
cannot be installed on Windows. Tests will run on Windows because those that use horizontal interpolation will not error out.
v0.5.3
filter: can be used to easily filter a Dataset down to certain variables by their standard names, but also looks for the variables necessary to decode vertical depth coordinates.
sub_grid hadn't been written to account for both cases of dimensions and coordinates with the same name vs. not. Now it works for both scenarios.
Also cf-xarray is now available on conda-forge with the necessary changes so can integrate that.
v0.5.2: Improved subset function
Now subset
function has been split into sub_bbox
and sub_grid
.