ConnectTool
 All Classes Namespaces Files Functions Variables Pages
Functions
idl_read_wso Namespace Reference

Functions

def compare_idl
 

Function Documentation

def idl_read_wso.compare_idl (   ncar)
Test.
Test WSO/WSO read_ascii_v0 and write_ascii_v1 routines.
For a given Carrington rotation, compare the IDL-WSO file and the one downloaded and produced by python routines.
An IDL-WSO file is present in ref_wso_wso_fortran for Car 2000.
For other Carrington rotation, must download and produced the IDL-WSO with ref_wso_wso_fortran/update_mgmap.pro script using the command line:
    update_magmap, cr_start, cr_end, src='WSO', dataroot=whereever/you/want, verbose=verbose
Step 1.
Download the wso.stanford.edu wanted file.
Step 2.
Read it and write it in the same format as the IDL-WSO file (format V1).
Step 3.
Check differences with vimdiff