Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • walkthrough with pictures - pictures are here - now we need text
  • the examples page
  • walkthrough of trying each of the code snippets (lots of pictures!)

Like other "fiddle" type environments such as jsfiddle, scalafiddle and python fiddle; BDFiddle provides an easy way for non-programmers to generate and play around with Metadata and code "snippets" needed to generate Metadata or convert/extract data from files they submit to Brown Dog..

Navigation

Navigate to the Brown Dog website at http://browndog.ncsa.illinois.edu/

Click on the BDFiddle Button on the left.

Image Added

or navigate directly to http://browndog.ncsa.illinois.edu/bdfiddle/

Log In Image Removedwith your Username and Password

Image Added

You will be taken to the BDFiddle page itself.
This is what you will see - . The whole page

Image Removed

Fill in Top Section

Image Removed

 

Select a file

 

Image Removed

Select Transformation

Image Removed

 

Output

Image Removed

 

  • the examples page
  • walkthrough of trying each of the code snippets (lots of pictures!)

 

Code snippets

Image Removed

 

Image Removed

 

 

 

 

Image Removed

 

 

Image Removed

Image Removed

Image Removed

 

Production does not have Jupyter

is set up to assist the user in a work flow from:

  1. Selecting the file
  2. Selecting the Transformation
  3. Receiving the output
  4. Getting access to the code snippets

Image Added

1) Select a file

You can choose from a file on your computer via the Browse button or select URL to go to the location where the data is stored.
Press Get Transformations

Image Added

2) Select Transformation

Based on the file type that was input a specific list of possible Conversions and Extractions are shown as available for that file.

Select the type of transformation needed from either of the scroll lists.

Press Submit to execute the transformation.

If the output needs to be emailed select the checkbox and input the desired email address.

Image Added

 

3) Output

If a conversion was selected - the Output box will provide a location where the saved file of the desired format is located.

If an extraction was selected - the Output box will provide the desired extracted information. 

The below example displays metadata in the Output box generated from a .jpg.

Image Added

 

 

3) Code snippets

BDFiddle also generates code snippets which can be used to recreate the same Transformation in a local environment if the user needs to repeat the process from within code.

Current snippets generated include:

  • Terminal - code needed to run from the command line

Image Added

  • Python - rerun the transformation via bd.py - Brown Dog python code

 

Image Added

  • Native Python - rerun the transformation via native python language

Image Added

  • JavaScript - Instructions on how to re-run the process using Java Script

Image Added

  • Matlab - code to utilize in a Matlab program to re-run the transformation

Image Added

  • R - code necessary to re-run the transformation in "R"

Image Added

 

Jupyter

BDFiddle also offers an option to move certain code snippets to a Jupyter Notebook.  If the button exists you can download Jupyter to your local environment and open a Jupyter Notebook which is pre-populated with the desired code.

 

Image Added