# How to save 'SEED' file to 'SEED'?

**URL:** https://discourse.obspy.org/t/how-to-save-seed-file-to-seed/834
**Category:** Users Mailing List Archive
**Tags:** archive
**Created:** [May 30, 2019, 8:43am UTC](https://discourse.obspy.org/t/how-to-save-seed-file-to-seed/834 "2019-05-30T08:43:41Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![111](https://discourse.obspy.org/user_avatar/discourse.obspy.org/111/32/272_2.png) [@111](https://discourse.obspy.org/u/111)
#### Post date: [May 30, 2019, 8:43am UTC](https://discourse.obspy.org/t/how-to-save-seed-file-to-seed/834/1 "2019-05-30T08:43:41Z")

</div>

How to save ‘SEED’ file to ‘SEED’?

I am inserting the coordinates information into each SEED files.  
but these ‘latitude, longitude’ information will disappear except AttribDic[“Coordinates”].  
So I think I have to save these info to each SEED files.  
but I just find the mudule ‘trace.write’. this module needs to put in format  
but The SEED format is not accepted. If I put in the format as mseed, after reading  
there is no trace.stats info.

What should I do?

---

<div class="post-metadata">

### Author: ![Jonathan\_K\_Maccarthy](https://discourse.obspy.org/user_avatar/discourse.obspy.org/jonathan_k_maccarthy/32/266_2.png) [@Jonathan\_K\_Maccarthy](https://discourse.obspy.org/u/Jonathan_K_Maccarthy)
#### Post date: [June 3, 2019, 2:20pm UTC](https://discourse.obspy.org/t/how-to-save-seed-file-to-seed/834/2 "2019-06-03T14:20:27Z")

</div>

Hello,

MiniSEED doesn¡¯t support latitude or longitude information. You¡¯ll have to use a different format, like SAC.

Best,  
Jon

---

<div class="post-metadata">

### Author: ![megies](https://discourse.obspy.org/user_avatar/discourse.obspy.org/megies/32/9_2.png) [@megies](https://discourse.obspy.org/u/megies)
#### Post date: [June 4, 2019, 9:32am UTC](https://discourse.obspy.org/t/how-to-save-seed-file-to-seed/834/3 "2019-06-04T09:32:06Z")

</div>

Hi,

as Jon stated MiniSEED is waveform data-only, then you can have DatalessSEED which is station metadata only and finally you can also have Full SEED which has both waveforms and metadata..

but: In general you want to store waveforms and metadata separate. So using MiniSEED for waveforms and then something else with metadata only is the way to go in general.

Furthermore, I would recommend working with StationXML which is the current standard for station metadata. If you are building your metadata from scratch, have a look at:

> **[Creating a StationXML file from Scratch — ObsPy 1.4.2 documentation](https://docs.obspy.org/tutorial/code_snippets/stationxml_file_from_scratch.html)**

Otherwise, just store what you get from the data providers (e.g. StationXML fetched via FDSN Web Service)

best,  
Tobias
