You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following the suggestion of @Jwely , create an extraction option which will output a masked array outlining shape itself. There are a couple ways to go about it if you want to expand on your idea jeff:
Output the array to a file in it's literal format, which can be used by future python scripts that take advantage of literal_evalref
simply output the text file with the masked values in a spaced format e.g.
1 1 1 1 1 1
1 0 0 1 1 1
1 0 0 0 1 1
1 1 1 1 1 1
additional ideas?
The text was updated successfully, but these errors were encountered:
@stapleCamel and I wrote extractdialog.py which takes a shape and creates a subset of the data to display to it's own plot, so all the code is in place and setup to do something like this. The dialog calculates a rectangular bounding box where the data inside is then graphed independently.
The reason why #31 remains open is because we had no idea in what format they wanted this data. We tried asking them for an example of how they would want us to give them data, but they never communicated how we should be outputting it. Your hardest challenge will likely be finding what format to deliver the data in (output the bounded subset of data held in an array to a text file? comma separate it? round values? what decimal place? should we display the masked value? what formatting do we apply to the numbers? etc.. etc..)
EDIT: extract dialog is opened via the extract button on the tools window for reference.
Following the suggestion of @Jwely , create an extraction option which will output a masked array outlining shape itself. There are a couple ways to go about it if you want to expand on your idea jeff:
Output the array to a file in it's literal format, which can be used by future python scripts that take advantage of
literal_eval
refsimply output the text file with the masked values in a spaced format e.g.
1 1 1 1 1 1
1 0 0 1 1 1
1 0 0 0 1 1
1 1 1 1 1 1
additional ideas?
The text was updated successfully, but these errors were encountered: