Unable to read Apollo lunar seismic data

HI! I encountered a problem when I used Obspy to read seismic
data. When LOADING Apollo seismic data, the obspy reported an error,
indicating that the file type could not be identified. What was the
cause of the error?

!pip install git+https://github.com/isas-yamamoto/obspy.git@feature_apollo
from obspy import read, UTCDateTime
import matplotlib.pyplot as plt
st = read('https://darts.isas.jaxa.jp/pub/apollo/pse/p11s/pse.a11.1.1')
TypeError: Unknown format for file /tmp/obspy-baholh2_.1

er1|690x270
er2|690x297

Hi!

Then maybe the detection routines in this fork are not working correctly. You can try to specify the format with format=, choose one of 'ALSEP_PSE', 'ALSEP_WTN', 'ALSEP_WTH'.

I know that converted Apollo seismic data is also available in MSEED format.

Related PR: Apollo seismometer format support: obspy.io.alsep by yamamo-to · Pull Request #2281 · obspy/obspy · GitHub

I try st = read('https://darts.isas.jaxa.jp/pub/apollo/pse/p11s/pse.a11.1.1',format = 'ALSEP_PSE').
It still have TypeError: Format "ALSEP_PSE" is not supported. Supported types:

Then, probably the installation of the feature_apollo branch did not succeed. Please check the output of your install command and try to remove any previous installation of obspy first.

Can you please tell in brief how to install this version of obspy where we can use this JAXA api

This is now in master branch for upcoming release 1.4.0. In the meantime you could install in Anaconda like this:

conda create -n obspy-master obspy
conda activate obspy-master
conda remove --offline --force obspy
pip install https://github.com/obspy/obspy/archive/refs/heads/master.zip

This works out-of-the-box on new obspy 1.4.0 now.