Jump to content

Jonathan Guthrie

Members
  • Posts

    11
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Jonathan Guthrie's Achievements

Apprentice

Apprentice (3/14)

  • Collaborator Rare
  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare

Recent Badges

1

Reputation

  1. Completely removed my Spotfire Analyst 14.3 installation including the Appdata Spotfire directory and did a clean install of Spotfire Analyst 14.4 Following the 14.4 install I looked to install geosphere, dplyr, tidyr for the R [Geospatial] Distance Matrix function - those packages were already there. The R data function still errors with the same object 'vec_ptype2' not found error as before. Moving to the Python packages I saw that spotfire-dsml was already there. Plumbed in the data function code provided by Gaia - thank you - and it is working. One question - I am assuming the haversine in the spotfire-dsml returns the distance in meters as did the R version. Is this correct? [Geospatial Python] Distance Matrix.sfd
  2. Currently reviewing the python option https://pypi.org/project/geodistpy/ as an alternative for the Spotfire Community Exchange R [Geospatial] Distance Matrix data function.
  3. I have a customer who was upgraded to 14.4 yesterday and his previously working dxp (which FYI also runs OK in my 14.3) is throwing the following error in 14.4 Spotfire Enterprise Runtime for R returned an error (2) The data function '[Geospatial] Distance Matrix' could not be executed. Error in .package.execute.initialization.function(ns, ".onLoad", dirn : error executing function '.onLoad' from package 'glue' loaded from C:/Users/jedga/DOCUME~1/TERR/x86_64-w64-mingw32-library/6.1 : Error in registerS3method(generic, class, fun, envir = asNamespace(pk... : object 'vec_ptype2' not found I have checked his Managed Trust and the Required packages for R: `geosphere`, `dplyr`, `tidyr` are installed. Thoughts/Ideas - looks to me like a 14.4 TERR library issue from the upgrade
  4. Just finished updating our A4E (Analytics for Energy) Spotfire Forecasting/Valuation Workflow template/toolkit with Spotfire 14.0 which has an advanced DCA Autocast model and is close to plug-n-play with any available well and production data source. This pure Spotfire workflow has been improved over the years utilizing community mods and geospatial data functions. The workflow covers well selection, production data review, DCA autocast, Normalization, Type Curve generation, MCMC machine learning (Markov Chain Monte Carlo) and Economics. Please review the slide deck attached and for more information or a demo contact john.buckley@blueriveranalytics.com A4E WF SF14.0 2024.4.02.pptx
  5. I have had this problem on and off from 11.x to now 11.6 when replacing a data table. It is most annoying as the dxp loads fine, I can replace the table successfully and all calcs, data functions, visualisations work perfectly but I cannot save the updated dxp and receive the error below. If you can provide some insight/guidance as to the cause of the error, then I might be able to resolve it. Appreciate your review of this. Error message: Unable to save the file EAW_20__SF11.6__21.12.22__Lib20.06.04.9011_DI_API14.dxp. SerializationException at Spotfire.Dxp.Framework: Attempt to read from a node that is in state 'Disposed': Spotfire.Dxp.Framework.DocumentModel.State.DisposedUndoablePropertyNodeState`1[[spotfire.Dxp.Data.DataColumnImpl, Spotfire.Dxp.Data, Version=53.0.16605.3360, Culture=neutral, PublicKeyToken=789861576bd64dc5]]. Object reference chain leading to the fault (closest reference first): Spotfire.Dxp.Application.CustomNodeStandIn.ActiveColumn Spotfire.Dxp.Application.CustomNodes.Nodes[1] Spotfire.Dxp.Application.Document.CustomNodes (HRESULT: 8013150C) Stack Trace: at Spotfire.Dxp.Framework.Persistence.Xml.SerializationFormatter.Serialize(Object graph) at Spotfire.Dxp.Framework.Persistence.PersistenceManager.SerializeForPersistence(Stream serializationStream, Object graph, IServiceProvider serviceProvider, PersistenceVersionAttribute compatibilityVersion, SerializationContext oldContext, SystemTypeSerializationSettings systemTypeSerializationSettings) at Spotfire.Dxp.Framework.Persistence.PersistenceManager.c__DisplayClass20_0.b__0() at Spotfire.Dxp.Framework.ApplicationModel.Progress.ExecuteSubtask(String title, ProgressOperation operation) at Spotfire.Dxp.Framework.Persistence.PersistenceManager.Save(DocumentTypes documentType, DocumentNode doc, IDocumentSaveSettings settings, Stream targetStream) at Spotfire.Dxp.Framework.Persistence.PersistenceManager.SaveToTempFile(DocumentTypes documentType, DocumentNode doc, IDocumentSaveSettings settings, Disposables cleanup, FileMetadata& fileMetadata) at Spotfire.Dxp.Framework.Persistence.PersistenceManager.Save(DocumentTypes documentType, DocumentNode doc, IDocumentSaveSettings settings, String fileName) at Spotfire.Dxp.Framework.DocumentModel.DocumentManager`1.c__DisplayClass63_0.b__0() at Spotfire.Dxp.Framework.ApplicationModel.Progress.c__DisplayClass22_0.b__0() at Spotfire.Dxp.Framework.ApplicationModel.MonitorableProgress.Start[T](Func`1 action) at Spotfire.Dxp.Forms.Application.FormsProgressService.ProgressThread.DoOperationLoop() InvalidOperationException at Spotfire.Dxp.Framework: Attempt to read from a node that is in state 'Disposed': Spotfire.Dxp.Framework.DocumentModel.State.DisposedUndoablePropertyNodeState`1[[spotfire.Dxp.Data.DataColumnImpl, Spotfire.Dxp.Data, Version=53.0.16605.3360, Culture=neutral, PublicKeyToken=789861576bd64dc5]]. (HRESULT: 80131509) Stack Trace: at Spotfire.Dxp.Framework.DocumentModel.State.DisposedUndoableNodeState.LimitGenerationUsedByRuntimeProperty() at Spotfire.Dxp.Framework.DocumentModel.UndoableProperty`1.get_Value() at Spotfire.Dxp.Framework.DocumentModel.DocumentNode.SerializeProperty[T](SerializationInfo info, StreamingContext context, UndoableProperty`1 property, String fieldNameOverride) at Spotfire.Dxp.Data.DataColumn.GetObjectData(SerializationInfo info, StreamingContext context) at Spotfire.Dxp.Framework.DocumentModel.Node.System.Runtime.Serialization.ISerializable.GetObjectData(SerializationInfo info, StreamingContext context) at Spotfire.Dxp.Framework.Persistence.PersistenceManager.GetObjectData(Object obj, SerializationInfo info, PrunerBase pruner, StreamingContext context) at Spotfire.Dxp.Framework.Persistence.PersistenceManager.GetSerializationInfo(Object obj, Type objType, PrunerBase pruner, StreamingContext context) at Spotfire.Dxp.Framework.Persistence.Xml.SerializationFormatter.SerializeObject(Int64 id, Object obj, Type objType) at Spotfire.Dxp.Framework.Persistence.Xml.SerializationFormatter.SerializeDocumentNodeWhileSaving(Node node, ReferenceInfo referenceInfo) at Spotfire.Dxp.Framework.Persistence.Xml.SerializationFormatter.SerializeField(String name, Object obj, Type declaredFieldType, String containingObjTypeName)
  6. I have a data function which generates a table of pairs, an array column of months 0-480 and an array column of rates e.g. Months = new int[] {1,2,3,4,5,6,7 ,8,9,10}, Rates = new double[] {2.4, 4.7,5.0, 0.0, 6.8 etc} The data function is driven by 4-6 parameters to generate the curve pairs. The purpose here is for the user to interactively 'tweak' the parameters (document properties) and see the curve change in the visualisation (Line by column values). Unfortunately, this approach (although it works) from a user perspective seems slow (not responsive enough). Change a value, run the data function, return the table of pairs, then draw the Line from column values curve. Does anyone have an alternate suggested approach/method that might make this curve 'tweaking' more responsive
  7. I have a Python script as follows to change the YColumnReference in Lines & Curves in a ScatterPlot (screenshot of parameters attached) from Spotfire.Dxp.Application.Visuals import * sp = vis.As[scatterPlot]() for fm in sp.FittingModels: if fm.TypeId.DisplayName == "Line from Column Values": if fm.Line.DisplayName == "Fit Data": print fm.Line.DisplayName print FittingModelCurve fm.YColumnReference = FittingModelCurve print fm.YColumnReference which displays the following Error: Fit Data Modified Arps (Secant).0 Traceback (most recent call last): File "", line 9, in TypeError: expected DataColumn, got str Any thoughts
  8. I have a JSViz in a Spotfire DXP 'template' that I do not want to be modified/changed in Spotfire Analyst. Is there a license option I can set in IronPython that will disable the editing of the JSViz properties Thanks.
×
×
  • Create New...