NEFSC / NEFSC-Spatial

http://nefsc.github.io/NEFSC-Spatial
http://nefsc.github.io/NEFSC-Spatial
Other
7 stars 0 forks source link

Add weas #13

Closed jmhatch closed 1 year ago

jmhatch commented 2 years ago

@andybeet & @kimberly-bastille Could you both review this pull request?

New Data

Text file changes

I fixed some minor things (update README to reflect transfer to NEFSC and suppressed messages in an .Rmd vignette).

andybeet commented 2 years ago

@kimberly-bastille @jmhatch Ignore my pull request. This might cover it all. If not we'll adapt this. I edited the main pull request description text @jmhatch . Hope you don't mind

There are also 36 fields in this sf object. Should we be explaining what they are?

Not sure i understand what this data is from the documentation. If i follow the source link the first thing i see is a link to shapefiles (which is a zip file containing 4 shapefiles), none of which are what this is (at least i dont think so)

jmhatch commented 2 years ago

@andybeet @kimberly-bastille I don't mind at all @andybeet that you edited the main pull request description text. Looks good!

There are also 36 fields in this sf object. Should we be explaining what they are?

There should be 23 fields, I think sf::st_union did something undesirable. I switched over to using rbind to combine the two feature layers into 1 sf object (thanks for catching that). But this is a good question. Maybe we can flesh this out at the next R Shiny meeting? I was just passing along all the fields provided in the raw data (by the data provider). But it doesn't look like all those fields are explained on BOEM's website (I didn't look that hard TBH, so the explanations may be there), so maybe we should pare the fields down to ones that are self-explanatory and easy to describe in the documentation (or easy to intuit what they are)?

Not sure i understand what this data is from the documentation. If i follow the source link the first thing i see is a link to shapefiles (which is a zip file containing 4 shapefiles), none of which are what this is (at least i dont think so)

You can download a geodatabase (as a zip file) or the shapefiles (as a zip file). They should contain the same data. I extracted 2 of the 5 feature layers (not sure what to call elements of a geodatabase) from the geodatabase, combined them, and saved that as a rda file. The other 3 feature layers I'm not currently interested in (so I didn't include those). There are 5 feature layers in the geodatabase, so maybe more data than what is available in the zipped file of shapefiles?

andybeet commented 2 years ago

ok, so i think if others want to use this data set, then they should really know what this product is since it really isnt anything right off the BOEM site. I think this can be dealt with in the documentation of the data set. I think we, as a group, need to determine what the data documentation should be listing. Agreed: next shiny meeting conversation

andybeet commented 2 years ago

@kimberly-bastille looks ok to me.

jmhatch commented 2 years ago

ok, so i think if others want to use this data set, then they should really know what this product is since it really isnt anything right off the BOEM site.

It kind of is, since I'm just doing the equivalent of concatenating 2 files together. But I'm not manipulating it beyond that. I guess I'm just packaging it up so that it's easier to ingest into R workflows? Now I'm not sure if it's worth including. Maybe folks should just get it from BOEM? I certainly don't want to be in a position where I'm describing elements of data file that I didn't create or know that much about. There are certain aspects that I'm interested in using, not all (but I don't want to exclude something that someone may find useful if they're more knowledgeable about the BOEM data products). Anyway, good to have this conversation and sounds like more documentation is needed. Thanks, Andy.

kimberly-bastille commented 2 years ago

Sorry for the delay. I agree I think it should be a conversation at the next shiny meeting. WEA, in general, should probably be discussed as they are rapidly changing but a data product that a lot of people will be using as wind work continues.

jmhatch commented 2 years ago

WEA, in general, should probably be discussed as they are rapidly changing but a data product that a lot of people will be using as wind work continues.

Good point @kimberly-bastille, I was thinking along the same lines. Next step would be implementing the process @andybeet was describing at our last meeting. Periodically downloading the data, see if it has changed (would have to develop the criteria to identify a change), and then if changed push the updated WEA outlines to the repo. Or something like that, if we want to keep WEA outlines in this repo. Thanks for all the good feedback!

jmhatch commented 1 year ago

We decided not to include WEAs at the moment. Closing.