# Question on the M2M

**URL:** <https://discourse.oceanobservatories.org/t/question-on-the-m2m/90>\
**Category:** HelpDesk\
**Created:** [December 18, 2020, 5:42pm UTC](https://discourse.oceanobservatories.org/t/question-on-the-m2m/90 "2020-12-18T17:42:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jglatstein](https://avatars.discourse-cdn.com/v4/letter/j/87869e/32.png) [@jglatstein](https://discourse.oceanobservatories.org/u/jglatstein)\
**Post date:** [December 18, 2020, 5:42pm UTC](https://discourse.oceanobservatories.org/t/question-on-the-m2m/90/1 "2020-12-18T17:42:30Z")

</div>

Aloha,

I’m using wget to obtain data from the server. I’m wondering if there is  
a way to specify the format of the data downloaded?

My request looks like:  
wget --auth-no-challenge --http-user=“OOIAPI-NOTTHEREALUSER”  
–http-password=“TEMP-TOKEN-NOTTHEREALPASSWORD” "  
[https://ooinet.oceanobservatories.org/api/m2m/12576/sensor/inv/RS03AXBS/MJ03A/06-PRESTA301/streamed/prest\_real\_time?beginDT=2020-12-12T00:00:22.038Z&endDT=2020-12-18T00:00:22.038Z&limit=1000&parameters=94,7](https://ooinet.oceanobservatories.org/api/m2m/12576/sensor/inv/RS03AXBS/MJ03A/06-PRESTA301/streamed/prest_real_time?beginDT=2020-12-12T00:00:22.038Z&endDT=2020-12-18T00:00:22.038Z&limit=1000&parameters=94,7)  
"

This gives a bit more info than I need. Is there a way to specify the  
format? For example, can I request CSV formatted pressure and time?

Thanks for your help

Stuart

---

<div class="post-metadata">

**Author:** ![jglatstein](https://avatars.discourse-cdn.com/v4/letter/j/87869e/32.png) [@jglatstein](https://discourse.oceanobservatories.org/u/jglatstein)\
**Post date:** [December 18, 2020, 8:08pm UTC](https://discourse.oceanobservatories.org/t/question-on-the-m2m/90/2 "2020-12-18T20:08:47Z")

</div>

Hi Stuart,

You can add the following to your url:

&format=application/csv&include\_provenance=false&include\_annotations=false

format can be application/netcdf or application/csv or application/json

I added include\_provenance and include\_annotations with a value of false just to cut down on output, but you can set to true if you want to keep those outputs.

Let me know if you have any other questions.

Regards,  
Jim
