Generate a PCK (JSON version) to go with the BSP file.
Note: this kernel can be read by jsonspice + SpiceyPy.
| Type | Intent | Optional | Attributes | Name | ||
|---|---|---|---|---|---|---|
| character(len=*), | intent(in) | :: | filename |
subroutine generate_pck_file(filename) character(len=*),intent(in) :: filename type(json_file) :: json call json%initialize(compress_vectors=.true.) call json%add('+NAIF_BODY_NAME', object_name) call json%add('+NAIF_BODY_CODE', object_id) call json%add('BODY'//int_to_string(object_id)//'_RADII', [0.001_wp, 0.001_wp, 0.001_wp]) call json%print(filename) call json%destroy() end subroutine generate_pck_file