From 294b036f7da8f52507b00e64703ce41ab295e3f1 2017-09-27 13:05:40 From: Alexandre Leroux Date: 2017-09-27 13:05:40 Subject: [PATCH] Updates test files with new AMDA file header Old files are moved to an archive folder --- diff --git a/plugins/amda/tests-resources/TestAmdaResultParser/NaNValue.txt b/plugins/amda/tests-resources/TestAmdaResultParser/NaNValue.txt index dab62ce..9870edc 100644 --- a/plugins/amda/tests-resources/TestAmdaResultParser/NaNValue.txt +++ b/plugins/amda/tests-resources/TestAmdaResultParser/NaNValue.txt @@ -1,6 +1,64 @@ -#Sampling Time : 60 -#Time Format : YYYY-MM-DDThh:mm:ss.mls -#imf(0) - Type : Local Parameter @ CDPP/AMDA - Name : bx_gse - Units : nT - Size : 1 - Frame : GSE - Mission : ACE - Instrument : MFI - Dataset : mfi_final-prelim +# ----------- +# AMDA INFO : +# ----------- +# AMDA_ABOUT : Created by CDPP/AMDA(c) +# AMDA_VERSION : 3.5.0 +# AMDA_ACKNOWLEDGEMENT : CDPP/AMDA Team +# +# -------------- +# REQUEST INFO : +# -------------- +# REQUEST_STRUCTURE : one-file-per-parameter-per-interval +# REQUEST_TIME_FORMAT : ISO 8601 +# REQUEST_OUTPUT_PARAMS : imf +# +# ----------------- +# BASE PARAMETERS : +# ----------------- +# +# MISSION_ID : NONE +# +# INSTRUMENT_ID : NONE +# +# DATASET_ID : ace-imf-all +# DATASET_NAME : final / prelim +# DATASET_DESCRIPTION : Interplanetary Magnetic Field 16-sec Level2/PRELIM Data +# DATASET_SOURCE : CDPP/DDServer +# DATASET_GLOBAL_START : 1997-09-02T00:00:12.000 +# DATASET_GLOBAL_STOP : 2017-09-16T23:59:57.000 +# DATASET_MIN_SAMPLING : 16 +# DATASET_MAX_SAMPLING : 16 +# DATASET_CAVEATS : + The quality of ACE level 2 data is such that it is suitable for serious scientific study. However, to avoid confusion and misunderstanding, it is recommended that users consult with the appropriate ACE team members before publishing work derived from the data. The ACE team has worked hard to ensure that the level 2 data are free from errors, but the team cannot accept responsibility for erroneous data, or for misunderstandings about how the data may be used. This is especially true if the appropriate ACE team members are not consulted before publication. At the very least, preprints should be forwarded to the ACE team before publication. + +# DATASET_ACKNOWLEDGEMENT : + Please acknowledge the ACE/MAG instrument team and the ACE Science Center + +# +# PARAMETER_ID : imf +# PARAMETER_NAME : imf +# PARAMETER_SHORT_NAME : b_gse +# PARAMETER_COMPONENTS : bx,by,bz +# PARAMETER_UNITS : nT +# PARAMETER_COORDINATE_SYSTEM : GSE +# PARAMETER_TENSOR_ORDER : 0 +# PARAMETER_SI_CONVERSION : 1e-9>T +# PARAMETER_TABLE : None +# PARAMETER_FILL_VALUE : nan +# PARAMETER_UCD : phys.magField +# +# +# --------------- +# INTERVAL INFO : +# --------------- +# INTERVAL_START : 2013-09-23T08:58:12.000 +# INTERVAL_STOP : 2013-09-23T09:11:48.000 +# +# ------ +# DATA : +# ------ +# DATA_COLUMNS : AMDA_TIME, imf[0] +# 2013-09-23T09:00:30.000 NaN 2013-09-23T09:01:30.000 -2.71850 2013-09-23T09:02:30.000 -2.52150 \ No newline at end of file diff --git a/plugins/amda/tests-resources/TestAmdaResultParser/NaNX.txt b/plugins/amda/tests-resources/TestAmdaResultParser/NaNX.txt index e90bbca..e4b465d 100644 --- a/plugins/amda/tests-resources/TestAmdaResultParser/NaNX.txt +++ b/plugins/amda/tests-resources/TestAmdaResultParser/NaNX.txt @@ -1,6 +1,64 @@ -#Sampling Time : 60 -#Time Format : YYYY-MM-DDThh:mm:ss.mls -#imf(0) - Type : Local Parameter @ CDPP/AMDA - Name : bx_gse - Units : nT - Size : 1 - Frame : GSE - Mission : ACE - Instrument : MFI - Dataset : mfi_final-prelim +# ----------- +# AMDA INFO : +# ----------- +# AMDA_ABOUT : Created by CDPP/AMDA(c) +# AMDA_VERSION : 3.5.0 +# AMDA_ACKNOWLEDGEMENT : CDPP/AMDA Team +# +# -------------- +# REQUEST INFO : +# -------------- +# REQUEST_STRUCTURE : one-file-per-parameter-per-interval +# REQUEST_TIME_FORMAT : ISO 8601 +# REQUEST_OUTPUT_PARAMS : imf +# +# ----------------- +# BASE PARAMETERS : +# ----------------- +# +# MISSION_ID : NONE +# +# INSTRUMENT_ID : NONE +# +# DATASET_ID : ace-imf-all +# DATASET_NAME : final / prelim +# DATASET_DESCRIPTION : Interplanetary Magnetic Field 16-sec Level2/PRELIM Data +# DATASET_SOURCE : CDPP/DDServer +# DATASET_GLOBAL_START : 1997-09-02T00:00:12.000 +# DATASET_GLOBAL_STOP : 2017-09-16T23:59:57.000 +# DATASET_MIN_SAMPLING : 16 +# DATASET_MAX_SAMPLING : 16 +# DATASET_CAVEATS : + The quality of ACE level 2 data is such that it is suitable for serious scientific study. However, to avoid confusion and misunderstanding, it is recommended that users consult with the appropriate ACE team members before publishing work derived from the data. The ACE team has worked hard to ensure that the level 2 data are free from errors, but the team cannot accept responsibility for erroneous data, or for misunderstandings about how the data may be used. This is especially true if the appropriate ACE team members are not consulted before publication. At the very least, preprints should be forwarded to the ACE team before publication. + +# DATASET_ACKNOWLEDGEMENT : + Please acknowledge the ACE/MAG instrument team and the ACE Science Center + +# +# PARAMETER_ID : imf +# PARAMETER_NAME : imf +# PARAMETER_SHORT_NAME : b_gse +# PARAMETER_COMPONENTS : bx,by,bz +# PARAMETER_UNITS : nT +# PARAMETER_COORDINATE_SYSTEM : GSE +# PARAMETER_TENSOR_ORDER : 0 +# PARAMETER_SI_CONVERSION : 1e-9>T +# PARAMETER_TABLE : None +# PARAMETER_FILL_VALUE : nan +# PARAMETER_UCD : phys.magField +# +# +# --------------- +# INTERVAL INFO : +# --------------- +# INTERVAL_START : 2013-09-23T08:58:12.000 +# INTERVAL_STOP : 2013-09-23T09:11:48.000 +# +# ------ +# DATA : +# ------ +# DATA_COLUMNS : AMDA_TIME, imf[0] +# NaN -3.01425 2013-09-23T09:01:30.000 -2.71850 2013-09-23T09:02:30.000 -2.52150 \ No newline at end of file diff --git a/plugins/amda/tests-resources/TestAmdaResultParser/NoUnit.txt b/plugins/amda/tests-resources/TestAmdaResultParser/NoUnit.txt index 648be9f..7bd0022 100644 --- a/plugins/amda/tests-resources/TestAmdaResultParser/NoUnit.txt +++ b/plugins/amda/tests-resources/TestAmdaResultParser/NoUnit.txt @@ -1,2 +1,60 @@ -#Sampling Time : 60 -#Time Format : YYYY-MM-DDThh:mm:ss.mls \ No newline at end of file +# ----------- +# AMDA INFO : +# ----------- +# AMDA_ABOUT : Created by CDPP/AMDA(c) +# AMDA_VERSION : 3.5.0 +# AMDA_ACKNOWLEDGEMENT : CDPP/AMDA Team +# +# -------------- +# REQUEST INFO : +# -------------- +# REQUEST_STRUCTURE : one-file-per-parameter-per-interval +# REQUEST_TIME_FORMAT : ISO 8601 +# REQUEST_OUTPUT_PARAMS : imf +# +# ----------------- +# BASE PARAMETERS : +# ----------------- +# +# MISSION_ID : NONE +# +# INSTRUMENT_ID : NONE +# +# DATASET_ID : ace-imf-all +# DATASET_NAME : final / prelim +# DATASET_DESCRIPTION : Interplanetary Magnetic Field 16-sec Level2/PRELIM Data +# DATASET_SOURCE : CDPP/DDServer +# DATASET_GLOBAL_START : 1997-09-02T00:00:12.000 +# DATASET_GLOBAL_STOP : 2017-09-16T23:59:57.000 +# DATASET_MIN_SAMPLING : 16 +# DATASET_MAX_SAMPLING : 16 +# DATASET_CAVEATS : + The quality of ACE level 2 data is such that it is suitable for serious scientific study. However, to avoid confusion and misunderstanding, it is recommended that users consult with the appropriate ACE team members before publishing work derived from the data. The ACE team has worked hard to ensure that the level 2 data are free from errors, but the team cannot accept responsibility for erroneous data, or for misunderstandings about how the data may be used. This is especially true if the appropriate ACE team members are not consulted before publication. At the very least, preprints should be forwarded to the ACE team before publication. + +# DATASET_ACKNOWLEDGEMENT : + Please acknowledge the ACE/MAG instrument team and the ACE Science Center + +# +# PARAMETER_ID : imf +# PARAMETER_NAME : imf +# PARAMETER_SHORT_NAME : b_gse +# PARAMETER_COMPONENTS : bx,by,bz +# PARAMETER_COORDINATE_SYSTEM : GSE +# PARAMETER_TENSOR_ORDER : 0 +# PARAMETER_SI_CONVERSION : 1e-9>T +# PARAMETER_TABLE : None +# PARAMETER_FILL_VALUE : nan +# PARAMETER_UCD : phys.magField +# +# +# --------------- +# INTERVAL INFO : +# --------------- +# INTERVAL_START : 2013-09-23T08:58:12.000 +# INTERVAL_STOP : 2013-09-23T09:11:48.000 +# +# ------ +# DATA : +# ------ +# DATA_COLUMNS : AMDA_TIME, imf[0] +# \ No newline at end of file diff --git a/plugins/amda/tests-resources/TestAmdaResultParser/TooManyValues.txt b/plugins/amda/tests-resources/TestAmdaResultParser/TooManyValues.txt index c58e9d4..e92b0c9 100644 --- a/plugins/amda/tests-resources/TestAmdaResultParser/TooManyValues.txt +++ b/plugins/amda/tests-resources/TestAmdaResultParser/TooManyValues.txt @@ -1,6 +1,64 @@ -#Sampling Time : 60 -#Time Format : YYYY-MM-DDThh:mm:ss.mls -#imf(0) - Type : Local Parameter @ CDPP/AMDA - Name : bx_gse - Units : nT - Size : 1 - Frame : GSE - Mission : ACE - Instrument : MFI - Dataset : mfi_final-prelim +# ----------- +# AMDA INFO : +# ----------- +# AMDA_ABOUT : Created by CDPP/AMDA(c) +# AMDA_VERSION : 3.5.0 +# AMDA_ACKNOWLEDGEMENT : CDPP/AMDA Team +# +# -------------- +# REQUEST INFO : +# -------------- +# REQUEST_STRUCTURE : one-file-per-parameter-per-interval +# REQUEST_TIME_FORMAT : ISO 8601 +# REQUEST_OUTPUT_PARAMS : imf +# +# ----------------- +# BASE PARAMETERS : +# ----------------- +# +# MISSION_ID : NONE +# +# INSTRUMENT_ID : NONE +# +# DATASET_ID : ace-imf-all +# DATASET_NAME : final / prelim +# DATASET_DESCRIPTION : Interplanetary Magnetic Field 16-sec Level2/PRELIM Data +# DATASET_SOURCE : CDPP/DDServer +# DATASET_GLOBAL_START : 1997-09-02T00:00:12.000 +# DATASET_GLOBAL_STOP : 2017-09-16T23:59:57.000 +# DATASET_MIN_SAMPLING : 16 +# DATASET_MAX_SAMPLING : 16 +# DATASET_CAVEATS : + The quality of ACE level 2 data is such that it is suitable for serious scientific study. However, to avoid confusion and misunderstanding, it is recommended that users consult with the appropriate ACE team members before publishing work derived from the data. The ACE team has worked hard to ensure that the level 2 data are free from errors, but the team cannot accept responsibility for erroneous data, or for misunderstandings about how the data may be used. This is especially true if the appropriate ACE team members are not consulted before publication. At the very least, preprints should be forwarded to the ACE team before publication. + +# DATASET_ACKNOWLEDGEMENT : + Please acknowledge the ACE/MAG instrument team and the ACE Science Center + +# +# PARAMETER_ID : imf +# PARAMETER_NAME : imf +# PARAMETER_SHORT_NAME : b_gse +# PARAMETER_COMPONENTS : bx,by,bz +# PARAMETER_UNITS : nT +# PARAMETER_COORDINATE_SYSTEM : GSE +# PARAMETER_TENSOR_ORDER : 0 +# PARAMETER_SI_CONVERSION : 1e-9>T +# PARAMETER_TABLE : None +# PARAMETER_FILL_VALUE : nan +# PARAMETER_UCD : phys.magField +# +# +# --------------- +# INTERVAL INFO : +# --------------- +# INTERVAL_START : 2013-09-23T08:58:12.000 +# INTERVAL_STOP : 2013-09-23T09:11:48.000 +# +# ------ +# DATA : +# ------ +# DATA_COLUMNS : AMDA_TIME, imf[0] +# 2013-09-23T09:00:30.000 -2.83950 1.05141 3.01547 2013-09-23T09:01:30.000 -2.71850 2013-09-23T09:02:30.000 -2.52150 \ No newline at end of file diff --git a/plugins/amda/tests-resources/TestAmdaResultParser/ValidScalar1.txt b/plugins/amda/tests-resources/TestAmdaResultParser/ValidScalar1.txt index 41b585a..3fdd73f 100644 --- a/plugins/amda/tests-resources/TestAmdaResultParser/ValidScalar1.txt +++ b/plugins/amda/tests-resources/TestAmdaResultParser/ValidScalar1.txt @@ -1,6 +1,64 @@ -#Sampling Time : 60 -#Time Format : YYYY-MM-DDThh:mm:ss.mls -#imf(0) - Type : Local Parameter @ CDPP/AMDA - Name : bx_gse - Units : nT - Size : 1 - Frame : GSE - Mission : ACE - Instrument : MFI - Dataset : mfi_final-prelim +# ----------- +# AMDA INFO : +# ----------- +# AMDA_ABOUT : Created by CDPP/AMDA(c) +# AMDA_VERSION : 3.5.0 +# AMDA_ACKNOWLEDGEMENT : CDPP/AMDA Team +# +# -------------- +# REQUEST INFO : +# -------------- +# REQUEST_STRUCTURE : one-file-per-parameter-per-interval +# REQUEST_TIME_FORMAT : ISO 8601 +# REQUEST_OUTPUT_PARAMS : imf +# +# ----------------- +# BASE PARAMETERS : +# ----------------- +# +# MISSION_ID : NONE +# +# INSTRUMENT_ID : NONE +# +# DATASET_ID : ace-imf-all +# DATASET_NAME : final / prelim +# DATASET_DESCRIPTION : Interplanetary Magnetic Field 16-sec Level2/PRELIM Data +# DATASET_SOURCE : CDPP/DDServer +# DATASET_GLOBAL_START : 1997-09-02T00:00:12.000 +# DATASET_GLOBAL_STOP : 2017-09-16T23:59:57.000 +# DATASET_MIN_SAMPLING : 16 +# DATASET_MAX_SAMPLING : 16 +# DATASET_CAVEATS : + The quality of ACE level 2 data is such that it is suitable for serious scientific study. However, to avoid confusion and misunderstanding, it is recommended that users consult with the appropriate ACE team members before publishing work derived from the data. The ACE team has worked hard to ensure that the level 2 data are free from errors, but the team cannot accept responsibility for erroneous data, or for misunderstandings about how the data may be used. This is especially true if the appropriate ACE team members are not consulted before publication. At the very least, preprints should be forwarded to the ACE team before publication. + +# DATASET_ACKNOWLEDGEMENT : + Please acknowledge the ACE/MAG instrument team and the ACE Science Center + +# +# PARAMETER_ID : imf +# PARAMETER_NAME : imf +# PARAMETER_SHORT_NAME : b_gse +# PARAMETER_COMPONENTS : bx,by,bz +# PARAMETER_UNITS : nT +# PARAMETER_COORDINATE_SYSTEM : GSE +# PARAMETER_TENSOR_ORDER : 0 +# PARAMETER_SI_CONVERSION : 1e-9>T +# PARAMETER_TABLE : None +# PARAMETER_FILL_VALUE : nan +# PARAMETER_UCD : phys.magField +# +# +# --------------- +# INTERVAL INFO : +# --------------- +# INTERVAL_START : 2013-09-23T08:58:12.000 +# INTERVAL_STOP : 2013-09-23T09:11:48.000 +# +# ------ +# DATA : +# ------ +# DATA_COLUMNS : AMDA_TIME, imf[0] +# 2013-09-23T09:00:30.000 -2.83950 2013-09-23T09:01:30.000 -2.71850 2013-09-23T09:02:30.000 -2.52150 diff --git a/plugins/amda/tests-resources/TestAmdaResultParser/ValidVector1.txt b/plugins/amda/tests-resources/TestAmdaResultParser/ValidVector1.txt index cadabb8..4c2161f 100644 --- a/plugins/amda/tests-resources/TestAmdaResultParser/ValidVector1.txt +++ b/plugins/amda/tests-resources/TestAmdaResultParser/ValidVector1.txt @@ -1,5 +1,64 @@ -#Time Format : YYYY-MM-DDThh:mm:ss.mls -#imf - Type : Local Parameter @ CDPP/AMDA - Name : imf_gse - Units : nT - Size : 3 - Frame : GSE - Mission : ACE - Instrument : MFI - Dataset : mfi_final-prelim +# ----------- +# AMDA INFO : +# ----------- +# AMDA_ABOUT : Created by CDPP/AMDA(c) +# AMDA_VERSION : 3.5.0 +# AMDA_ACKNOWLEDGEMENT : CDPP/AMDA Team +# +# -------------- +# REQUEST INFO : +# -------------- +# REQUEST_STRUCTURE : one-file-per-parameter-per-interval +# REQUEST_TIME_FORMAT : ISO 8601 +# REQUEST_OUTPUT_PARAMS : imf +# +# ----------------- +# BASE PARAMETERS : +# ----------------- +# +# MISSION_ID : NONE +# +# INSTRUMENT_ID : NONE +# +# DATASET_ID : ace-imf-all +# DATASET_NAME : final / prelim +# DATASET_DESCRIPTION : Interplanetary Magnetic Field 16-sec Level2/PRELIM Data +# DATASET_SOURCE : CDPP/DDServer +# DATASET_GLOBAL_START : 1997-09-02T00:00:12.000 +# DATASET_GLOBAL_STOP : 2017-09-16T23:59:57.000 +# DATASET_MIN_SAMPLING : 16 +# DATASET_MAX_SAMPLING : 16 +# DATASET_CAVEATS : + The quality of ACE level 2 data is such that it is suitable for serious scientific study. However, to avoid confusion and misunderstanding, it is recommended that users consult with the appropriate ACE team members before publishing work derived from the data. The ACE team has worked hard to ensure that the level 2 data are free from errors, but the team cannot accept responsibility for erroneous data, or for misunderstandings about how the data may be used. This is especially true if the appropriate ACE team members are not consulted before publication. At the very least, preprints should be forwarded to the ACE team before publication. + +# DATASET_ACKNOWLEDGEMENT : + Please acknowledge the ACE/MAG instrument team and the ACE Science Center + +# +# PARAMETER_ID : imf +# PARAMETER_NAME : imf +# PARAMETER_SHORT_NAME : b_gse +# PARAMETER_COMPONENTS : bx,by,bz +# PARAMETER_UNITS : nT +# PARAMETER_COORDINATE_SYSTEM : GSE +# PARAMETER_TENSOR_ORDER : 0 +# PARAMETER_SI_CONVERSION : 1e-9>T +# PARAMETER_TABLE : None +# PARAMETER_FILL_VALUE : nan +# PARAMETER_UCD : phys.magField +# +# +# --------------- +# INTERVAL INFO : +# --------------- +# INTERVAL_START : 2012-09-27T06:47:56.000 +# INTERVAL_STOP : 2012-09-27T08:09:32.000 +# +# ------ +# DATA : +# ------ +# DATA_COLUMNS : AMDA_TIME, imf[0], imf[1], imf[2] +# 2013-07-02T09:13:50.000 -0.332000 3.20600 0.0580000 2013-07-02T09:14:06.000 -1.01100 2.99900 0.496000 2013-07-02T09:14:22.000 -1.45700 2.78500 1.01800 diff --git a/plugins/amda/tests-resources/TestAmdaResultParser/WrongDate.txt b/plugins/amda/tests-resources/TestAmdaResultParser/WrongDate.txt index 7dc5266..8271429 100644 --- a/plugins/amda/tests-resources/TestAmdaResultParser/WrongDate.txt +++ b/plugins/amda/tests-resources/TestAmdaResultParser/WrongDate.txt @@ -1,6 +1,64 @@ -#Sampling Time : 60 -#Time Format : YYYY-MM-DDThh:mm:ss.mls -#imf(0) - Type : Local Parameter @ CDPP/AMDA - Name : bx_gse - Units : nT - Size : 1 - Frame : GSE - Mission : ACE - Instrument : MFI - Dataset : mfi_final-prelim +# ----------- +# AMDA INFO : +# ----------- +# AMDA_ABOUT : Created by CDPP/AMDA(c) +# AMDA_VERSION : 3.5.0 +# AMDA_ACKNOWLEDGEMENT : CDPP/AMDA Team +# +# -------------- +# REQUEST INFO : +# -------------- +# REQUEST_STRUCTURE : one-file-per-parameter-per-interval +# REQUEST_TIME_FORMAT : ISO 8601 +# REQUEST_OUTPUT_PARAMS : imf +# +# ----------------- +# BASE PARAMETERS : +# ----------------- +# +# MISSION_ID : NONE +# +# INSTRUMENT_ID : NONE +# +# DATASET_ID : ace-imf-all +# DATASET_NAME : final / prelim +# DATASET_DESCRIPTION : Interplanetary Magnetic Field 16-sec Level2/PRELIM Data +# DATASET_SOURCE : CDPP/DDServer +# DATASET_GLOBAL_START : 1997-09-02T00:00:12.000 +# DATASET_GLOBAL_STOP : 2017-09-16T23:59:57.000 +# DATASET_MIN_SAMPLING : 16 +# DATASET_MAX_SAMPLING : 16 +# DATASET_CAVEATS : + The quality of ACE level 2 data is such that it is suitable for serious scientific study. However, to avoid confusion and misunderstanding, it is recommended that users consult with the appropriate ACE team members before publishing work derived from the data. The ACE team has worked hard to ensure that the level 2 data are free from errors, but the team cannot accept responsibility for erroneous data, or for misunderstandings about how the data may be used. This is especially true if the appropriate ACE team members are not consulted before publication. At the very least, preprints should be forwarded to the ACE team before publication. + +# DATASET_ACKNOWLEDGEMENT : + Please acknowledge the ACE/MAG instrument team and the ACE Science Center + +# +# PARAMETER_ID : imf +# PARAMETER_NAME : imf +# PARAMETER_SHORT_NAME : b_gse +# PARAMETER_COMPONENTS : bx,by,bz +# PARAMETER_UNITS : nT +# PARAMETER_COORDINATE_SYSTEM : GSE +# PARAMETER_TENSOR_ORDER : 0 +# PARAMETER_SI_CONVERSION : 1e-9>T +# PARAMETER_TABLE : None +# PARAMETER_FILL_VALUE : nan +# PARAMETER_UCD : phys.magField +# +# +# --------------- +# INTERVAL INFO : +# --------------- +# INTERVAL_START : 2013-09-23T08:58:12.000 +# INTERVAL_STOP : 2013-09-23T09:11:48.000 +# +# ------ +# DATA : +# ------ +# DATA_COLUMNS : AMDA_TIME, imf[0] +# 23/09/2013 07:50:30 -2.83950 2013-09-23T09:01:30.000 -2.71850 2013-09-23T09:02:30.000 -2.52150 \ No newline at end of file diff --git a/plugins/amda/tests-resources/TestAmdaResultParser/WrongUnit.txt b/plugins/amda/tests-resources/TestAmdaResultParser/WrongUnit.txt index 5a62942..190447b 100644 --- a/plugins/amda/tests-resources/TestAmdaResultParser/WrongUnit.txt +++ b/plugins/amda/tests-resources/TestAmdaResultParser/WrongUnit.txt @@ -1,6 +1,64 @@ -#Sampling Time : 60 -#Time Format : YYYY-MM-DDThh:mm:ss.mls -#Wrong unit comment +# ----------- +# AMDA INFO : +# ----------- +# AMDA_ABOUT : Created by CDPP/AMDA(c) +# AMDA_VERSION : 3.5.0 +# AMDA_ACKNOWLEDGEMENT : CDPP/AMDA Team +# +# -------------- +# REQUEST INFO : +# -------------- +# REQUEST_STRUCTURE : one-file-per-parameter-per-interval +# REQUEST_TIME_FORMAT : ISO 8601 +# REQUEST_OUTPUT_PARAMS : imf +# +# ----------------- +# BASE PARAMETERS : +# ----------------- +# +# MISSION_ID : NONE +# +# INSTRUMENT_ID : NONE +# +# DATASET_ID : ace-imf-all +# DATASET_NAME : final / prelim +# DATASET_DESCRIPTION : Interplanetary Magnetic Field 16-sec Level2/PRELIM Data +# DATASET_SOURCE : CDPP/DDServer +# DATASET_GLOBAL_START : 1997-09-02T00:00:12.000 +# DATASET_GLOBAL_STOP : 2017-09-16T23:59:57.000 +# DATASET_MIN_SAMPLING : 16 +# DATASET_MAX_SAMPLING : 16 +# DATASET_CAVEATS : + The quality of ACE level 2 data is such that it is suitable for serious scientific study. However, to avoid confusion and misunderstanding, it is recommended that users consult with the appropriate ACE team members before publishing work derived from the data. The ACE team has worked hard to ensure that the level 2 data are free from errors, but the team cannot accept responsibility for erroneous data, or for misunderstandings about how the data may be used. This is especially true if the appropriate ACE team members are not consulted before publication. At the very least, preprints should be forwarded to the ACE team before publication. + +# DATASET_ACKNOWLEDGEMENT : + Please acknowledge the ACE/MAG instrument team and the ACE Science Center + +# +# PARAMETER_ID : imf +# PARAMETER_NAME : imf +# PARAMETER_SHORT_NAME : b_gse +# PARAMETER_COMPONENTS : bx,by,bz +# PARAM_UNITS : wrong unit line +# PARAMETER_COORDINATE_SYSTEM : GSE +# PARAMETER_TENSOR_ORDER : 0 +# PARAMETER_SI_CONVERSION : 1e-9>T +# PARAMETER_TABLE : None +# PARAMETER_FILL_VALUE : nan +# PARAMETER_UCD : phys.magField +# +# +# --------------- +# INTERVAL INFO : +# --------------- +# INTERVAL_START : 2013-09-23T08:58:12.000 +# INTERVAL_STOP : 2013-09-23T09:11:48.000 +# +# ------ +# DATA : +# ------ +# DATA_COLUMNS : AMDA_TIME, imf[0] +# 2013-09-23T09:00:30.000 -2.83950 2013-09-23T09:01:30.000 -2.71850 2013-09-23T09:02:30.000 -2.52150 \ No newline at end of file diff --git a/plugins/amda/tests-resources/TestAmdaResultParser/WrongValue.txt b/plugins/amda/tests-resources/TestAmdaResultParser/WrongValue.txt index 578a209..bcd630a 100644 --- a/plugins/amda/tests-resources/TestAmdaResultParser/WrongValue.txt +++ b/plugins/amda/tests-resources/TestAmdaResultParser/WrongValue.txt @@ -1,6 +1,64 @@ -#Sampling Time : 60 -#Time Format : YYYY-MM-DDThh:mm:ss.mls -#imf(0) - Type : Local Parameter @ CDPP/AMDA - Name : bx_gse - Units : nT - Size : 1 - Frame : GSE - Mission : ACE - Instrument : MFI - Dataset : mfi_final-prelim +# ----------- +# AMDA INFO : +# ----------- +# AMDA_ABOUT : Created by CDPP/AMDA(c) +# AMDA_VERSION : 3.5.0 +# AMDA_ACKNOWLEDGEMENT : CDPP/AMDA Team +# +# -------------- +# REQUEST INFO : +# -------------- +# REQUEST_STRUCTURE : one-file-per-parameter-per-interval +# REQUEST_TIME_FORMAT : ISO 8601 +# REQUEST_OUTPUT_PARAMS : imf +# +# ----------------- +# BASE PARAMETERS : +# ----------------- +# +# MISSION_ID : NONE +# +# INSTRUMENT_ID : NONE +# +# DATASET_ID : ace-imf-all +# DATASET_NAME : final / prelim +# DATASET_DESCRIPTION : Interplanetary Magnetic Field 16-sec Level2/PRELIM Data +# DATASET_SOURCE : CDPP/DDServer +# DATASET_GLOBAL_START : 1997-09-02T00:00:12.000 +# DATASET_GLOBAL_STOP : 2017-09-16T23:59:57.000 +# DATASET_MIN_SAMPLING : 16 +# DATASET_MAX_SAMPLING : 16 +# DATASET_CAVEATS : + The quality of ACE level 2 data is such that it is suitable for serious scientific study. However, to avoid confusion and misunderstanding, it is recommended that users consult with the appropriate ACE team members before publishing work derived from the data. The ACE team has worked hard to ensure that the level 2 data are free from errors, but the team cannot accept responsibility for erroneous data, or for misunderstandings about how the data may be used. This is especially true if the appropriate ACE team members are not consulted before publication. At the very least, preprints should be forwarded to the ACE team before publication. + +# DATASET_ACKNOWLEDGEMENT : + Please acknowledge the ACE/MAG instrument team and the ACE Science Center + +# +# PARAMETER_ID : imf +# PARAMETER_NAME : imf +# PARAMETER_SHORT_NAME : b_gse +# PARAMETER_COMPONENTS : bx,by,bz +# PARAMETER_UNITS : nT +# PARAMETER_COORDINATE_SYSTEM : GSE +# PARAMETER_TENSOR_ORDER : 0 +# PARAMETER_SI_CONVERSION : 1e-9>T +# PARAMETER_TABLE : None +# PARAMETER_FILL_VALUE : nan +# PARAMETER_UCD : phys.magField +# +# +# --------------- +# INTERVAL INFO : +# --------------- +# INTERVAL_START : 2013-09-23T08:58:12.000 +# INTERVAL_STOP : 2013-09-23T09:11:48.000 +# +# ------ +# DATA : +# ------ +# DATA_COLUMNS : AMDA_TIME, imf[0] +# 2013-09-23T09:00:30.000 abc 2013-09-23T09:01:30.000 -2.71850 2013-09-23T09:02:30.000 -2.52150 \ No newline at end of file diff --git a/plugins/amda/tests-resources/TestAmdaResultParser/amdaV1/FileNotFound.txt b/plugins/amda/tests-resources/TestAmdaResultParser/amdaV1/FileNotFound.txt new file mode 100644 index 0000000..bba04b0 --- /dev/null +++ b/plugins/amda/tests-resources/TestAmdaResultParser/amdaV1/FileNotFound.txt @@ -0,0 +1,3 @@ +Not Found + +The requested URL /AMDA/data/WSRESULT/imf(0)-1343153090-1343153092-60.txt was not found on this server. \ No newline at end of file diff --git a/plugins/amda/tests-resources/TestAmdaResultParser/amdaV1/NaNValue.txt b/plugins/amda/tests-resources/TestAmdaResultParser/amdaV1/NaNValue.txt new file mode 100644 index 0000000..dab62ce --- /dev/null +++ b/plugins/amda/tests-resources/TestAmdaResultParser/amdaV1/NaNValue.txt @@ -0,0 +1,6 @@ +#Sampling Time : 60 +#Time Format : YYYY-MM-DDThh:mm:ss.mls +#imf(0) - Type : Local Parameter @ CDPP/AMDA - Name : bx_gse - Units : nT - Size : 1 - Frame : GSE - Mission : ACE - Instrument : MFI - Dataset : mfi_final-prelim +2013-09-23T09:00:30.000 NaN +2013-09-23T09:01:30.000 -2.71850 +2013-09-23T09:02:30.000 -2.52150 \ No newline at end of file diff --git a/plugins/amda/tests-resources/TestAmdaResultParser/amdaV1/NaNX.txt b/plugins/amda/tests-resources/TestAmdaResultParser/amdaV1/NaNX.txt new file mode 100644 index 0000000..e90bbca --- /dev/null +++ b/plugins/amda/tests-resources/TestAmdaResultParser/amdaV1/NaNX.txt @@ -0,0 +1,6 @@ +#Sampling Time : 60 +#Time Format : YYYY-MM-DDThh:mm:ss.mls +#imf(0) - Type : Local Parameter @ CDPP/AMDA - Name : bx_gse - Units : nT - Size : 1 - Frame : GSE - Mission : ACE - Instrument : MFI - Dataset : mfi_final-prelim +NaN -3.01425 +2013-09-23T09:01:30.000 -2.71850 +2013-09-23T09:02:30.000 -2.52150 \ No newline at end of file diff --git a/plugins/amda/tests-resources/TestAmdaResultParser/amdaV1/NoUnit.txt b/plugins/amda/tests-resources/TestAmdaResultParser/amdaV1/NoUnit.txt new file mode 100644 index 0000000..648be9f --- /dev/null +++ b/plugins/amda/tests-resources/TestAmdaResultParser/amdaV1/NoUnit.txt @@ -0,0 +1,2 @@ +#Sampling Time : 60 +#Time Format : YYYY-MM-DDThh:mm:ss.mls \ No newline at end of file diff --git a/plugins/amda/tests-resources/TestAmdaResultParser/amdaV1/TooManyValues.txt b/plugins/amda/tests-resources/TestAmdaResultParser/amdaV1/TooManyValues.txt new file mode 100644 index 0000000..c58e9d4 --- /dev/null +++ b/plugins/amda/tests-resources/TestAmdaResultParser/amdaV1/TooManyValues.txt @@ -0,0 +1,6 @@ +#Sampling Time : 60 +#Time Format : YYYY-MM-DDThh:mm:ss.mls +#imf(0) - Type : Local Parameter @ CDPP/AMDA - Name : bx_gse - Units : nT - Size : 1 - Frame : GSE - Mission : ACE - Instrument : MFI - Dataset : mfi_final-prelim +2013-09-23T09:00:30.000 -2.83950 1.05141 3.01547 +2013-09-23T09:01:30.000 -2.71850 +2013-09-23T09:02:30.000 -2.52150 \ No newline at end of file diff --git a/plugins/amda/tests-resources/TestAmdaResultParser/amdaV1/ValidScalar1.txt b/plugins/amda/tests-resources/TestAmdaResultParser/amdaV1/ValidScalar1.txt new file mode 100644 index 0000000..41b585a --- /dev/null +++ b/plugins/amda/tests-resources/TestAmdaResultParser/amdaV1/ValidScalar1.txt @@ -0,0 +1,13 @@ +#Sampling Time : 60 +#Time Format : YYYY-MM-DDThh:mm:ss.mls +#imf(0) - Type : Local Parameter @ CDPP/AMDA - Name : bx_gse - Units : nT - Size : 1 - Frame : GSE - Mission : ACE - Instrument : MFI - Dataset : mfi_final-prelim +2013-09-23T09:00:30.000 -2.83950 +2013-09-23T09:01:30.000 -2.71850 +2013-09-23T09:02:30.000 -2.52150 +2013-09-23T09:03:30.000 -2.57633 +2013-09-23T09:04:30.000 -2.58050 +2013-09-23T09:05:30.000 -2.48325 +2013-09-23T09:06:30.000 -2.63025 +2013-09-23T09:07:30.000 -2.55800 +2013-09-23T09:08:30.000 -2.43250 +2013-09-23T09:09:30.000 -2.42200 \ No newline at end of file diff --git a/plugins/amda/tests-resources/TestAmdaResultParser/amdaV1/ValidVector1.txt b/plugins/amda/tests-resources/TestAmdaResultParser/amdaV1/ValidVector1.txt new file mode 100644 index 0000000..cadabb8 --- /dev/null +++ b/plugins/amda/tests-resources/TestAmdaResultParser/amdaV1/ValidVector1.txt @@ -0,0 +1,12 @@ +#Time Format : YYYY-MM-DDThh:mm:ss.mls +#imf - Type : Local Parameter @ CDPP/AMDA - Name : imf_gse - Units : nT - Size : 3 - Frame : GSE - Mission : ACE - Instrument : MFI - Dataset : mfi_final-prelim +2013-07-02T09:13:50.000 -0.332000 3.20600 0.0580000 +2013-07-02T09:14:06.000 -1.01100 2.99900 0.496000 +2013-07-02T09:14:22.000 -1.45700 2.78500 1.01800 +2013-07-02T09:14:38.000 -1.29300 2.73600 1.48500 +2013-07-02T09:14:54.000 -1.21700 2.61200 1.66200 +2013-07-02T09:15:10.000 -1.44300 2.56400 1.50500 +2013-07-02T09:15:26.000 -1.27800 2.89200 1.16800 +2013-07-02T09:15:42.000 -1.20200 2.86200 1.24400 +2013-07-02T09:15:58.000 -1.22000 2.85900 1.15000 +2013-07-02T09:16:14.000 -1.25900 2.76400 1.35800 \ No newline at end of file diff --git a/plugins/amda/tests-resources/TestAmdaResultParser/amdaV1/WrongDate.txt b/plugins/amda/tests-resources/TestAmdaResultParser/amdaV1/WrongDate.txt new file mode 100644 index 0000000..7dc5266 --- /dev/null +++ b/plugins/amda/tests-resources/TestAmdaResultParser/amdaV1/WrongDate.txt @@ -0,0 +1,6 @@ +#Sampling Time : 60 +#Time Format : YYYY-MM-DDThh:mm:ss.mls +#imf(0) - Type : Local Parameter @ CDPP/AMDA - Name : bx_gse - Units : nT - Size : 1 - Frame : GSE - Mission : ACE - Instrument : MFI - Dataset : mfi_final-prelim +23/09/2013 07:50:30 -2.83950 +2013-09-23T09:01:30.000 -2.71850 +2013-09-23T09:02:30.000 -2.52150 \ No newline at end of file diff --git a/plugins/amda/tests-resources/TestAmdaResultParser/amdaV1/WrongUnit.txt b/plugins/amda/tests-resources/TestAmdaResultParser/amdaV1/WrongUnit.txt new file mode 100644 index 0000000..5a62942 --- /dev/null +++ b/plugins/amda/tests-resources/TestAmdaResultParser/amdaV1/WrongUnit.txt @@ -0,0 +1,6 @@ +#Sampling Time : 60 +#Time Format : YYYY-MM-DDThh:mm:ss.mls +#Wrong unit comment +2013-09-23T09:00:30.000 -2.83950 +2013-09-23T09:01:30.000 -2.71850 +2013-09-23T09:02:30.000 -2.52150 \ No newline at end of file diff --git a/plugins/amda/tests-resources/TestAmdaResultParser/amdaV1/WrongValue.txt b/plugins/amda/tests-resources/TestAmdaResultParser/amdaV1/WrongValue.txt new file mode 100644 index 0000000..578a209 --- /dev/null +++ b/plugins/amda/tests-resources/TestAmdaResultParser/amdaV1/WrongValue.txt @@ -0,0 +1,6 @@ +#Sampling Time : 60 +#Time Format : YYYY-MM-DDThh:mm:ss.mls +#imf(0) - Type : Local Parameter @ CDPP/AMDA - Name : bx_gse - Units : nT - Size : 1 - Frame : GSE - Mission : ACE - Instrument : MFI - Dataset : mfi_final-prelim +2013-09-23T09:00:30.000 abc +2013-09-23T09:01:30.000 -2.71850 +2013-09-23T09:02:30.000 -2.52150 \ No newline at end of file