This page was created by the IDL library routine
mk_html_help2.
Last modified: Mon Oct 20 03:17:44 2025.
PROCEDURE: avg_data_python_validate PURPOSE: Generate test data for Python vs IDL validation tests for avg_data routine. Creates a file called avg_data_validate.tplot which should be uploaded into: https://github.com/spedas/test_data This file is used by pyspedas tests to confirm that IDL and python results are the same. $LastChangedBy: nikos $ $LastChangedDate: 2025-09-07 11:18:10 -0700 (Sun, 07 Sep 2025) $ $LastChangedRevision: 33603 $ $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/general/tools/python_validate/avg_data_python_validate.pro $
(See general/tools/python_validate/avg_data_python_validate.pro)
Procedure: thm_crib_fac Purpose: A crib on showing how to transform into field aligned coordinates DSL coordinates Notes: $LastChangedBy: jwl $ $LastChangedDate: 2025-09-18 17:58:39 -0700 (Thu, 18 Sep 2025) $ $LastChangedRevision: 33629 $ $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/general/tools/python_validate/fac_matrix_make_python_validate.pro $
(See general/tools/python_validate/fac_matrix_make_python_validate.pro)
Procedure: lmn_python_validate Purpose: Creates a savefile with tplot variables that contain lmn_matrix_make data. The savefile can used to compare the results of IDL lmn_matrix_make.pro to the results of the similar python function in pyspedas. $LastChangedBy: jwl $ $LastChangedDate: 2025-09-18 17:58:39 -0700 (Thu, 18 Sep 2025) $ $LastChangedRevision: 33629 $ $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/general/tools/python_validate/lmn_python_validate.pro $
(See general/tools/python_validate/lmn_python_validate.pro)
Procedure: omni_solarwind_python_validate Purpose: Create a savefile with OMNI solar wind variables. The savefile can be loaded into Python using PySPEDAS to verify that the Python results match the IDL results. $LastChangedBy: jwl $ $LastChangedDate: 2025-09-18 17:58:39 -0700 (Thu, 18 Sep 2025) $ $LastChangedRevision: 33629 $ $URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/general/tools/python_validate/omni_solarwind_python_validate.pro $
(See general/tools/python_validate/omni_solarwind_python_validate.pro)
NAME:
SPINMODEL_PYTHON_TEST.PRO
PURPOSE:
Load several spin models and export them as CDFs for comparison with Python results
CATEGORY:
TDAS
CALLING SEQUENCE:
spinmodel_python_test
INPUTS:
probe: One value from 'a b c d e'
trange: Time range specified as a 2-element string array
correction_level: An integer, 0 1 or 2, denoting the level of eclipse corrections to use
cdf_filename: The name of the output CDF. This file can be passed to the themis.state.spinmodel.validate_model routine
to perform the python side of the test.
OUTPUTS:
A CDF file containing the probe, time range, and correction level used, a dump of the spinmodel attributes, and some interpolation
test data to be reproduced in pyspedas.
KEYWORDS:
None.
PROCEDURE:
EXAMPLE:
spinmodel_python_test, probe='a',trange=['2008-03-23','2008-04-23'],correction_level=2,cdf_filename='tha_30day_corr2.cdf'
Written by: Jim Lewis (jwl@ssl.berkeley.edu)
(See general/tools/python_validate/spinmodel_python_test.pro)
PROCEDURE: wav_data_validate
PURPOSE:
Generate test data for Python vs IDL validation tests for the wav_data routine.
Creates the following savefiles:
wav_data_resample_test.tplot
sin_wav_wv_pol_perp.tplot
wav_data_cross_test.tplot
sin_wav_wv_pol_perp.tplot
These files should be uploaded into:
https://github.com/spedas/test_data/analysis_tools
The savefiles are used by pyspedas tests to confirm that IDL and python results are the same.
$LastChangedBy: nikos $
$LastChangedDate: 2025-10-13 10:21:07 -0700 (Mon, 13 Oct 2025) $
$LastChangedRevision: 33753 $
$URL: svn+ssh://thmsvn@ambrosia.ssl.berkeley.edu/repos/spdsoft/trunk/general/tools/python_validate/wav_data_validate.pro $
(See general/tools/python_validate/wav_data_validate.pro)