Grasshopper

algorithmic modeling for Rhino

I have been using Meerkat very successfully to create 3D surfaces around harbors and the cape cod canal.  The missing link for me is to create water depth near the coast edge.  I am wondering if anyone has created a plugin or script to pull in bathymetric data, in any format, including BAG.

BTW I use the Rhino files to machine 3D models in Baltic Birch plywood.

Views: 811

Replies to This Discussion

If by "water depth" ( ==  bed ??) you mean some sort of trimmed surface (i.e. Brep) this is not that difficult: start from patching your points/curves and post here the result in order to deal with some patch tricky aspects.

or maybe you mean bed "layers" in order to use plywood?

My problem is how to bring the points in one of the NOAA databases into Grasshopper. Once I have the points I know how to crop them and create a mesh.

I think the appropriate data is here

https://www.ngdc.noaa.gov/mgg/bathymetry/hydro.html

or here

http://www.nauticalcharts.noaa.gov/csdl/ctp/encdirect_help.htm

Starting here:

http://maps.ngdc.noaa.gov/viewers/bathymetry/?layers=nos_hydro&...

I got to this page:

http://www.ngdc.noaa.gov/docucomp/page?url=http://surveys.ngdc.noaa...

where it appears there is an XML format of the data:

http://www.ngdc.noaa.gov/metadata/published/NOAA/NESDIS/NGDC/MGG/NO...

and, under the "Bathymetry" tab, a file called 'H06563.xyz.gz', described as:

Point Soundings from the survey Smooth Sheet or of similar density. Depths in meters. The data file format is : Lat, Long, Depth. H06563.xyz.gz 125.8kb XYZ format.

The .gz is a compressed file; when uncompressed, it looks like this:

survey_id,lat,long,depth,quality_code,active
H06563,41.896498,-70.198429,28.7,1,1
H06563,41.899195,-70.198549,29.0,1,1
H06563,41.77109,-70.377519,18.6,1,1
H06563,41.861888,-70.501026,15.5,1,1
H06563,41.865797,-70.504674,17.1,1,1
H06563,41.870119,-70.49984,18.9,1,1
H06563,41.895249,-70.477895,26.2,1,1
H06563,41.897911,-70.472365,25.3,1,1
H06563,41.885424,-70.492723,22.9,1,1
H06563,41.889527,-70.489167,22.6,1,1
H06563,41.940991,-70.488168,30.8,1,1
H06563,41.944298,-70.495507,31.1,1,1
H06563,41.966051,-70.296954,40.5,1,1
H06563,41.953468,-70.308646,38.4,1,1
H06563,41.953568,-70.312074,38.1,1,1
H06563,41.855453,-70.377527,27.4,1,1
H06563,41.801242,-70.454872,19.8,1,1
H06563,41.957215,-70.130018,21.0,1,1
H06563,41.960348,-70.11791,16.8,1,1

etc.

This format is standard .csv Excel comma delimited data, easily imported and parsed by Grasshopper.

Thank you very much.  Yes, Grasshopper has great tools for excel files.

Joseph,

I found the text tools in grasshopper even easier to use than excel. I posted a picture today of a sample with part of the cape cod canal.  I believe my customer will want the surface painted.  The baltic birch plywood highlights the contour changes.

I still need  to import BAG files because many more areas are available in that format.

http://www.opennavsurf.org/download.html

My problem is how to translate the the data in the bag file to the same reference used for the profiles on land.

I don't really know what you're talking about, sorry.

  • "I posted a picture today"?
  • "my customer will want the surface painted"?
  • "baltic birch plywood highlights the contour changes"?
  • "BAG files"?  I'm not going to download and install code that has no meaning for me.

Good luck.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service