3.5. Test scripts¶
To add a new test, see How to add a new test.
3.5.2. Grids¶
Testing grid
module.
- 3.5.2.1. test_grid_coord2slice_acad.py – Test
coord2slice()
- 3.5.2.2. test_grid_get_distances.py – Test
get_distances()
- 3.5.2.3. test_grid_griddedselector.py – Test
GriddedSelector()
- 3.5.2.4. test_grid_isrect.py – Test
isrect()
- 3.5.2.5. test_grid_resol.py – Test function
resol()
- 3.5.2.6. test_grid_rotate_grid.py – Test
rotate_grid()
- 3.5.2.7. test_grid_subaxis2index.py – m vcmq import create_axis, isaxis, coord2slice, cdms2
- 3.5.2.8. test_grid_varsel.py – Test
varsel()
3.5.3. Graphics¶
Testing plot
module.
- 3.5.3.1. test_plot_add_logo.py – Test
add_logo()
- 3.5.3.2. test_plot_cmap_auto.py – Test
plot2d()
with automatic colormaps - 3.5.3.3. test_plot_core_add_things.py – Test
add_point()
and similarPlot
methods - 3.5.3.4. test_plot_curve_o.py – Test
curve2()
with an arbitrary axis - 3.5.3.5. test_plot_curve_t.py – Test
curve2()
with a time axis - 3.5.3.6. test_plot_curve_x.py – Test
curve2()
with a longitude axis - 3.5.3.7. test_plot_curve_y.py – Test
curve2()
with a latitude axis - 3.5.3.8. test_plot_curve_z.py – Test
curve2()
with a depth axis - 3.5.3.9. test_plot_hlitvs.py – Test
curve2()
with a call tohlitvs()
- 3.5.3.10. test_plot_hov_tz.py – Test
hov2()
with a TZ variable - 3.5.3.11. test_plot_map_arcgisimage.py – Test
map()
with an arcgisimage as background - 3.5.3.12. test_plot_plot2d_bounds.py – Test
plot2d()
with specified cell bounds - 3.5.3.13. test_plot_plot2d_oo.py – Test
plot2d()
with arbitrary axes - 3.5.3.14. test_plot_plot2d_to.py – Test
plot2d()
with a time axis - 3.5.3.15. test_plot_section_quiver.py – Test
section2()
in quiver mode - 3.5.3.16. test_plot_section_zo.py – Test
section2()
with a Z- variable - 3.5.3.17. test_plot_streamplot.py – Test
plot_streamplot()
- 3.5.3.18. test_plot_taylor.py – Test function
taylor()
in different configurations - 3.5.3.19. test_color_anamorph.py – Test
anamorph_cmap
- 3.5.3.20. test_color_darken.py – Test
darken
- 3.5.3.21. test_color_desaturate.py – Test
desaturate
- 3.5.3.22. test_color_pastelise.py – Test
pastelise
- 3.5.3.23. test_color_saturate.py – Test
saturate
- 3.5.3.24. test_color_to_grey.py – Test
to_grey
- 3.5.3.25. test_color_whiten.py – Test
whiten
3.5.6. Regridding¶
Testing regridding
and kriging
modules.
- 3.5.6.1. test_regrid_curvedinterpolator.py – Test the class
CurvedInterpolator
- 3.5.6.2. test_regrid_extend.py – Test
extend1d()
andextend2d()
- 3.5.6.3. test_regrid_fortran_bilin.py – Test the fortran function
bilin()
- 3.5.6.4. test_regrid_fortran_bilin2dto1d.py – Test fortran function
bilin2dto1d()
- 3.5.6.5. test_regrid_fortran_bilin2dto1dc.py – Test fortran function
bilin2dto1dc()
- 3.5.6.6. test_regrid_fortran_cellerr1d.py – Test the fortran function
cellerr1d()
,cellerr1dx()
etcellerr1dxx()
- 3.5.6.7. test_regrid_fortran_closest2d.py – Test the fortran function
closest2d()
- 3.5.6.8. test_regrid_fortran_curv2rect.py – Test the fortran function
curv2rect()
- 3.5.6.9. test_regrid_fortran_curv2rel.py – Test the fortran function
curv2rel()
- 3.5.6.10. test_regrid_fortran_curv2rel_single.py – Test the fortran function
curv2rel_single()
- 3.5.6.11. test_regrid_fortran_dstwgt.py – Test the fortran function
bilin()
- 3.5.6.12. test_regrid_fortran_dstwgt2dto1d.py – Test fortran function
dstwgt2dto1d()
- 3.5.6.13. test_regrid_fortran_dstwgt2dto1dc.py – Test fortran function
dstwgt2dto1dc()
- 3.5.6.14. test_regrid_fortran_extrap1d.py – Test the fortran function
extrap1d()
- 3.5.6.15. test_regrid_fortran_interp1d.py – Test the fortran function
interp1d()
- 3.5.6.16. test_regrid_fortran_interp1dx.py – Test the fortran function
interp1dx()
- 3.5.6.17. test_regrid_fortran_interp1dxx.py – Test the fortran function
interp1dxx()
- 3.5.6.18. test_regrid_fortran_linear4dto1d.py – Test the fortran function
linear4dto1d()
- 3.5.6.19. test_regrid_fortran_linear4dto1dxx.py – Test the fortran function
linear4dto1dxx()
- 3.5.6.20. test_regrid_fortran_nearest2d.py – Test the fortran function
nearest2d()
- 3.5.6.21. test_regrid_fortran_nearest2dto1d.py – Test fortran function
nearest2dto1d()
- 3.5.6.22. test_regrid_fortran_nearest2dto1dc.py – Test fortran function
nearest2dto1dc()
- 3.5.6.23. test_regrid_grid2xy.py – Test
grid2xy()
with interpolation in X, Y, Z and T - 3.5.6.24. test_regrid_griddata.py – Test :func:`~vacumm.misc.grid.regridding.griddata
- 3.5.6.25. test_regrid_kriging_cloud_split.py – Test function
cloud_split()
- 3.5.6.26. test_regrid_kriging_krig.py – Test function
krig()
- 3.5.6.27. test_regrid_kriging_ock.py – Test class
OrdinaryCloudKriger()
- 3.5.6.28. test_regrid_kriging_parallel.py – Test function
OrdinaryKriger()
in parallel and multifit modes - 3.5.6.29. test_regrid_kriging_regrid.py – Test function
krig()
for grid refinement - 3.5.6.30. test_regrid_kriging_simple_farvalue.py – Test class
SimpleCloudkriger()
with farvalue keyword - 3.5.6.31. test_regrid_kriging_simple_obserr.py – Test class
SimpleCloudkriger()
with observation errors - 3.5.6.32. test_regrid_kriging_variogram.py – Test functions
variogram()
- 3.5.6.33. test_regrid_regrid1d.py – Test the
regrid1d()
function - 3.5.6.34. test_regrid_regrid2d.py – Test the
regrid2d()
function - 3.5.6.35. test_regrid_transect_curvgrid.py – Test
transect()
on a curvilinear grid - 3.5.6.36. test_regrid_transect_mld.py – Test
transect()
- 3.5.6.37. test_regrid_transect_xyt.py – Test
transect()
with interpolation in both time and space - 3.5.6.38. test_regrid_xy2xy.py – Test :func:`~vacumm.misc.grid.regridding.xy2xy
3.5.13. The Dataset
classes¶
- 3.5.13.1. test_dataset_get_asvar_menor.py – Test the asvar keyword of
finalize_object()
on MENOR - 3.5.13.2. test_dataset_get_asvar_mfs.py – Test the asvar keyword of
finalize_object()
on MFS - 3.5.13.3. test_dataset_get_at.py – Test
get_temp()
withat
keyword andget_temp_u()
- 3.5.13.4. test_dataset_get_dens.py – Test
get_dens()
in MENOR - 3.5.13.5. test_dataset_get_depth_menor.py – Test
get_depth()
in MENOR - 3.5.13.6. test_dataset_get_depth_mfs.py – Test
get_depth()
in MFS - 3.5.13.7. test_dataset_get_grid.py – Test method
get_grid()
on MENOR - 3.5.13.8. test_dataset_get_mld.py – Test
get_mld()
with deltadens in MENOR - 3.5.13.9. test_dataset_get_temp_menor.py – Test
get_temp()
on MENOR - 3.5.13.10. test_dataset_get_temp_mfs.py – Test
get_temp()
on MFS - 3.5.13.11. test_dataset_get_uvbt_menor.py – Test
get_uvgbt()
on MENOR - 3.5.13.12. test_dataset_get_var_seltime.py – Test
get_var()
on multiple files and time selections - 3.5.13.13. test_dataset_get_variable_levelstring.py – Test
get_variable()
with level as a string - 3.5.13.14. test_dataset_plot_hsection_menor.py – Test
plot_hsection()
with MENOR - 3.5.13.15. test_dataset_plot_hsection_mfs.py – Test
plot_hsection()
with MFS - 3.5.13.16. test_dataset_plot_transect_menor.py – Test
plot_transect()
with MENOR - 3.5.13.17. test_dataset_plot_transect_mfs.py – Test
plot_transect()
on MFS
3.5.14. The arakawa
module¶
3.5.16. Pure CDAT¶
- 3.5.16.1. test_cdat_regrid_algo.py – Testing CDAT regridding algorithm
- 3.5.16.2. test_cdat_regrid_conserv.py – Test CDAT conservative regridding
- 3.5.16.3. test_cdat_regrid_curv2rect.py – Testing CDAT regridding from curvilinear grid to rectangular grid
- 3.5.16.4. test_cdat_regrid_rect2rect.py – Compare CDAT regridding speed with rectangular and rectangular grids
- 3.5.16.5. test_cdat_regrid_regrid2.py – Test the traditionnal CDAT regrid2 regridder