Web Content Display

Web Content Display (CoastWatch User Forum)

The NOAA CoastWatch Forum provides information in several categories.  The information is relevant to CoastWatch products and software (https://coastwatch.noaa.gov)  and vary in technical details.  For questions and issues not addressed here,  start a thread in the appropriate category or contact the CoastWatch HelpDesk (coastwatch.info@noaa.gov).  Please note our Privacy Policy (https://www.noaa.gov/privacy.html) and that this is a public forum.  All information is voluntarily and anonymous submissions are accepted pending review prior to posting. 

Forums

Back

RE: Extract data within a boundary Tutorial error

U
Anonymous, modified 3 Years ago.

Extract data within a boundary Tutorial error

Hi, I went back to the first part in the r tutorial after failing to modify it and noticed that the original script runs the following error

(one step earlier than the person who had the plotBBoxt error :) )

## Request the data

> sanctchl <- rxtractogon (dataInfo, parameter=parameter, xcoord=xcoord, ycoord=ycoord,tcoord=tcoord,zcoord=zcoord)

[1] "Requested coordinate names do no match dataset coordinate names"

[1] "Requested coordinate names: longitude" "Requested coordinate names: latitude"

[3] "Requested coordinate names: altitude"  "Requested coordinate names: time"    

[1] "Dataset coordinate names: time"      "Dataset coordinate names: latitude"

[3] "Dataset coordinate names: longitude"

[1] "error in call to rxtracto_3D"

[1] "see messages above"

> str(sanctchl)

 chr "rxtracto_3D error"

> sanctchl1 <- sanctchl

can someone tell me what´s wrong?

best,

Alice

MA
Melanie Abecassis, modified 3 Years ago.

RE: Extract data within a boundary Tutorial error

Youngling Posts: 65 Join Date: 6/12/17 Recent Posts

Hi Alice,

I just ran it and it worked for me. Can you retry? Maybe the server was having an issue when you ran it and couldn't download the data properly. Did you change any of the code? Make sure you run every single line.

Melanie

CW
Cara Wilson, modified 3 Years ago.

RE: Extract data within a boundary Tutorial error

Youngling Posts: 41 Join Date: 6/12/17 Recent Posts

Alice - 

 

The rerddapxtracto error messages are actually very helpful.  Its telling you there is a mismatch between the requested coordinates, and the coordinates of the dataset.  You are requested 4 coordinates, including altitude, but the dataset only has three.  So remove the zcoord=zcoord from your function call and it should work. 

 

I am working on writing up the common errors and how to trouble shoot them and hopefully will be able to share that document with everyone later today.  

 

Cara

U
Anonymous, modified 3 Years ago.

RE: Extract data within a boundary Tutorial error

Dear Melanie, dear Cara,

thanks for your answers.

@Cara - you´re right it says it right there!! Had just read through your common R mistakes sheet and  thought I recognized something;) Now it´s running, thanks!

pd. I was wondering whether the slides of your narrated videos (e.g. water quality video) could be made available as PDF for the participants? Would be super helpful for a quick (review) look at a e.g. chl-a, CDOM spectral characteristics, used bands and suggested products. Unfortunately that occured to me after already having send the evaluation. Maybe you´ll still see this here.

Best,

Alice

JS
Jennifer Sevadjian, modified 3 Years ago.

RE: Extract data within a boundary Tutorial error

Youngling Posts: 15 Join Date: 6/13/17 Recent Posts

Hi Alice,

Of course, I've now added the ppt, pdf and mp4 versions of the lectures for everyone to have for reference in the shared folder on google drive at: https://drive.google.com/drive/u/0/folders/19uqyhkgqIzb8dnDfcJklhablSNcHIE8W

 

Best,

Jenn

U
Anonymous, modified 3 Years ago.

RE: Extract data within a boundary Tutorial error

Perfect, thank you!

All the best,

Alice

Reply to Main Thread
Quick Reply