cassini-rpws-hfr-qtn-archive-pds4 issueshttps://gitlab.obspm.fr/cecconi/cassini-rpws-hfr-qtn-archive-pds4/-/issues2019-12-12T21:14:51+01:00https://gitlab.obspm.fr/cecconi/cassini-rpws-hfr-qtn-archive-pds4/-/issues/7File statistics with docgen2019-12-12T21:14:51+01:00Cecconi BaptisteFile statistics with docgenThe following is code to calculate the file stats in docgen:
```
<File>
<file_name>$options.cdfname</file_name>
<creation_date_time>$File.getModificationDate("$options.cdfpath/$options.cdfname")</creation_date_time>
...The following is code to calculate the file stats in docgen:
```
<File>
<file_name>$options.cdfname</file_name>
<creation_date_time>$File.getModificationDate("$options.cdfpath/$options.cdfname")</creation_date_time>
<file_size unit="byte">$File.getSize("$options.cdfpath/$options.cdfname")</file_size>
<md5_checksum>$File.getMD5("$options.cdfpath/$options.cdfname")</md5_checksum>
</File>
```https://gitlab.obspm.fr/cecconi/cassini-rpws-hfr-qtn-archive-pds4/-/issues/3ISTP compliance check with SKTEditor library fails2018-10-18T10:01:36+02:00Cecconi BaptisteISTP compliance check with SKTEditor library failsTwo errors are reported by the ISTP compliance check with the SKTEditor library, for instance:
```
Errors:
Logical_file_id should be 'co_rpws_hfr_qtn_200502160509_v03'. It is 'co_rpws_hfr_qtn_200502160509_200502171439_v10'.
spase_Data...Two errors are reported by the ISTP compliance check with the SKTEditor library, for instance:
```
Errors:
Logical_file_id should be 'co_rpws_hfr_qtn_200502160509_v03'. It is 'co_rpws_hfr_qtn_200502160509_200502171439_v10'.
spase_DatasetResourceID is missing.
```
The first error is based on an ISTP convention assuming the file name should contain a single date or datetime
(which would be the start datetime in our case). Our convention (`<<start-datetime>>_<<end-datetime>>`) is used
by other projects like [Solar-Orbiter](https://issues.cosmos.esa.int/solarorbiterwiki/display/SOSP/SOC+Documents?preview=/5801215/27296033/SOL-SGS-TN-0009_2_3_MetadataStandard.pdf) (see section 2.1.3.1, item 5).
The second error is triggered although the `spase_DatasetResourceID` is mentionned as "recommended" in the ISTP CDF web
pages. This attribute is required if the data product is planned to be listed in the [SPASE registry](http://www.spase-group.org)
(under development for this dataset).Cecconi BaptisteCecconi Baptiste